Build log:
Mock Version: 5.5
Mock Version: 5.5
Mock Version: 5.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-torch.spec'], chrootPath='/var/lib/mock/f41-build-49707645-5925339/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7ff7d59dbaa0>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.08hj_itw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.08hj_itw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ec9ea4b7b5624d40a271ff6e5d0f4a51', '-D', '/var/lib/mock/f41-build-49707645-5925339/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.08hj_itw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-torch.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1710547200
Wrote: /builddir/build/SRPMS/python-torch-2.3.0^git20240307.975d428-6.fc41.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-torch.spec'], chrootPath='/var/lib/mock/f41-build-49707645-5925339/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7ff7d59dbaa0>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.08hj_itw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.08hj_itw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'efa9c2987498481585e4d201c8434dad', '-D', '/var/lib/mock/f41-build-49707645-5925339/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.08hj_itw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-torch.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1710547200
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fthAH2
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf pytorch-975d4284250170602db60adfda5eb1664a3b8acc
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytorch-975d428.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pytorch-975d4284250170602db60adfda5eb1664a3b8acc
+ rm -rf /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc-SPECPARTS
+ /usr/bin/mkdir -p /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-no-third_party-foxi.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-no-third_party-fmt.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-no-third_party-FXdiv.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Stub-in-kineto-ActivityType.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-disable-submodule-search.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-reenable-foxi-linking.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ rm -rf torch.egg-info
+ cp /builddir/build/SOURCES/pyproject.toml .
+ tar xf /builddir/build/SOURCES/v23.3.3.tar.gz
+ cp -r flatbuffers-23.3.3/BUILD.bazel flatbuffers-23.3.3/CHANGELOG.md flatbuffers-23.3.3/CMake flatbuffers-23.3.3/CMakeLists.txt flatbuffers-23.3.3/CONTRIBUTING.md flatbuffers-23.3.3/FlatBuffers.podspec flatbuffers-23.3.3/Formatters.md flatbuffers-23.3.3/LICENSE flatbuffers-23.3.3/Package.swift flatbuffers-23.3.3/Package@swift-5.5.swift flatbuffers-23.3.3/SECURITY.md flatbuffers-23.3.3/WORKSPACE flatbuffers-23.3.3/android flatbuffers-23.3.3/bazel flatbuffers-23.3.3/benchmarks flatbuffers-23.3.3/build_defs.bzl flatbuffers-23.3.3/composer.json flatbuffers-23.3.3/conan flatbuffers-23.3.3/conanfile.py flatbuffers-23.3.3/dart flatbuffers-23.3.3/docs flatbuffers-23.3.3/examples flatbuffers-23.3.3/go flatbuffers-23.3.3/grpc flatbuffers-23.3.3/include flatbuffers-23.3.3/java flatbuffers-23.3.3/js flatbuffers-23.3.3/kotlin flatbuffers-23.3.3/lobster flatbuffers-23.3.3/lua flatbuffers-23.3.3/mjs flatbuffers-23.3.3/net flatbuffers-23.3.3/nim flatbuffers-23.3.3/package.json flatbuffers-23.3.3/php flatbuffers-23.3.3/python flatbuffers-23.3.3/readme.md flatbuffers-23.3.3/reflection flatbuffers-23.3.3/rust flatbuffers-23.3.3/samples flatbuffers-23.3.3/scripts flatbuffers-23.3.3/snap flatbuffers-23.3.3/src flatbuffers-23.3.3/swift flatbuffers-23.3.3/swift.swiftformat flatbuffers-23.3.3/tests flatbuffers-23.3.3/ts flatbuffers-23.3.3/tsconfig.json flatbuffers-23.3.3/tsconfig.mjs.json flatbuffers-23.3.3/typescript.bzl flatbuffers-23.3.3/yarn.lock third_party/flatbuffers/
+ tar xf /builddir/build/SOURCES/v2.11.1.tar.gz
+ cp -r pybind11-2.11.1/CMakeLists.txt pybind11-2.11.1/LICENSE pybind11-2.11.1/MANIFEST.in pybind11-2.11.1/README.rst pybind11-2.11.1/SECURITY.md pybind11-2.11.1/docs pybind11-2.11.1/include pybind11-2.11.1/noxfile.py pybind11-2.11.1/pybind11 pybind11-2.11.1/pyproject.toml pybind11-2.11.1/setup.cfg pybind11-2.11.1/setup.py pybind11-2.11.1/tests pybind11-2.11.1/tools third_party/pybind11/
+ sed -i -e 's/USE_OPENCV AND OpenCV_FOUND AND USE_FFMPEG AND FFMPEG_FOUND/USE_OPENCV AND USE_FFMPEG/' caffe2/video/CMakeLists.txt
+ sed -i -e 's/USE_OPENCV AND OpenCV_FOUND/USE_OPENCV/' caffe2/image/CMakeLists.txt
+ sed -i -e s/STATUS/FATAL/ caffe2/image/CMakeLists.txt
+ cat caffe2/image/CMakeLists.txt
if(USE_OPENCV)
        message(FATAL "Including image processing operators")
  # ---[ GPU files
  # ------[ general GPU
  file(GLOB tmp *_gpu.cc)
  set(Caffe2_GPU_SRCS ${Caffe2_GPU_SRCS} ${tmp})
  # ------[ CUDA sources
  file(GLOB tmp *.cu)
  set(Caffe2_GPU_SRCS ${Caffe2_GPU_SRCS} ${tmp})
  # exclude test files
  file(GLOB tmp *_test.cc)
  exclude(Caffe2_GPU_SRCS "${Caffe2_GPU_SRCS}" ${tmp})
  # ---[ HIP files
  # ------[ general HIP
  file(GLOB tmp hip/*.cc)
  set(Caffe2_HIP_SRCS ${Caffe2_HIP_SRCS} ${tmp})
  # ------[ HIP sources
  file(GLOB tmp hip/*.hip)
  set(Caffe2_HIP_SRCS ${Caffe2_HIP_SRCS} ${tmp})
  # exclude test files
  file(GLOB tmp hip/*_test.cc)
  exclude(Caffe2_HIP_SRCS "${Caffe2_HIP_SRCS}" ${tmp})
  # ---[ CPU files.
  file(GLOB tmp *.cc)
  set(Caffe2_CPU_SRCS ${Caffe2_CPU_SRCS} ${tmp})
  # exclude test files and gpu files
  file(GLOB tmp *_test.cc)
  exclude(Caffe2_CPU_SRCS "${Caffe2_CPU_SRCS}" ${tmp})
  exclude(Caffe2_CPU_SRCS "${Caffe2_CPU_SRCS}" ${Caffe2_GPU_SRCS})
  exclude(Caffe2_CPU_SRCS "${Caffe2_CPU_SRCS}" ${Caffe2_HIP_SRCS})
  # ---[ GPU test files
  file(GLOB tmp *_gpu_test.cc)
  set(Caffe2_GPU_TEST_SRCS ${Caffe2_GPU_TEST_SRCS} ${tmp})
  # ---[ HIP test files
  file(GLOB tmp hip/*_test.cc)
  set(Caffe2_HIP_TEST_SRCS ${Caffe2_HIP_TEST_SRCS} ${tmp})
  # ---[ CPU test files
  file(GLOB tmp *_test.cc)
  set(Caffe2_CPU_TEST_SRCS ${Caffe2_CPU_TEST_SRCS} ${tmp})
  exclude(Caffe2_CPU_TEST_SRCS "${Caffe2_CPU_TEST_SRCS}" ${Caffe2_GPU_TEST_SRCS})
  exclude(Caffe2_CPU_TEST_SRCS "${Caffe2_CPU_TEST_SRCS}" ${Caffe2_HIP_TEST_SRCS})
  # ---[ Send the lists to the parent scope.
  set(Caffe2_CPU_SRCS ${Caffe2_CPU_SRCS} PARENT_SCOPE)
  set(Caffe2_GPU_SRCS ${Caffe2_GPU_SRCS} PARENT_SCOPE)
  set(Caffe2_HIP_SRCS ${Caffe2_HIP_SRCS} PARENT_SCOPE)
  set(Caffe2_CPU_TEST_SRCS ${Caffe2_CPU_TEST_SRCS} PARENT_SCOPE)
  set(Caffe2_GPU_TEST_SRCS ${Caffe2_GPU_TEST_SRCS} PARENT_SCOPE)
  set(Caffe2_HIP_TEST_SRCS ${Caffe2_HIP_TEST_SRCS} PARENT_SCOPE)
else()
        message(FATAL "Excluding image processing operators due to no opencv")
endif()
+ mv third_party/miniz-2.1.0 .
+ mv third_party/build_bundled.py .
+ mv third_party/flatbuffers .
+ mv third_party/pybind11 .
+ rm -rf third_party/BUCK.oss third_party/BUILD third_party/FP16 third_party/FXdiv third_party/LICENSES_BUNDLED.txt third_party/METADATA.bzl third_party/NNPACK third_party/QNNPACK third_party/README.md third_party/VulkanMemoryAllocator third_party/XNNPACK third_party/benchmark third_party/cpuinfo third_party/cub third_party/cuda.BUILD third_party/cudnn.BUILD third_party/cudnn_frontend third_party/cudnn_frontend.BUILD third_party/cutlass third_party/cutlass.BUILD third_party/eigen third_party/eigen.BUILD third_party/fbgemm third_party/fmt third_party/fmt.BUILD third_party/foxi third_party/foxi.BUILD third_party/gemmlowp third_party/generate-cpuinfo-wrappers.py third_party/generate-xnnpack-wrappers.py third_party/glog.buck.bzl third_party/gloo third_party/gloo.BUILD third_party/googletest third_party/ideep third_party/ideep.BUILD third_party/ios-cmake third_party/ittapi third_party/kineto third_party/kineto.BUILD third_party/kineto.buck.bzl third_party/mimalloc third_party/mkl-dnn.BUILD third_party/mkl.BUILD third_party/mkl_headers.BUILD third_party/nccl third_party/neon2sse third_party/nlohmann third_party/onnx third_party/onnx-tensorrt third_party/onnx.BUILD third_party/pocketfft third_party/protobuf third_party/psimd third_party/pthreadpool third_party/python-peachpy third_party/sleef third_party/sleef.BUILD third_party/sleef.bzl third_party/substitution.bzl third_party/tbb third_party/tbb.BUILD third_party/tbb.patch third_party/tensorflow_cuda_bazel_build third_party/tensorpipe third_party/tensorpipe.BUILD third_party/valgrind-headers third_party/xnnpack.buck.bzl third_party/xnnpack_src_defs.bzl third_party/xnnpack_wrapper_defs.bzl third_party/zstd
+ mv build_bundled.py third_party
+ mv miniz-2.1.0 third_party
+ mv flatbuffers third_party
+ mv pybind11 third_party
+ mkdir third_party/pocketfft
+ mkdir third_party/valgrind-headers
+ cp /usr/include/valgrind/cachegrind.h /usr/include/valgrind/callgrind.h /usr/include/valgrind/dhat.h /usr/include/valgrind/drd.h /usr/include/valgrind/helgrind.h /usr/include/valgrind/memcheck.h /usr/include/valgrind/valgrind.h third_party/valgrind-headers
+ rm caffe2/contrib/opencl/OpenCL/cl.hpp
+ rm caffe2/mobile/contrib/libopencl-stub/include/CL/cl.h caffe2/mobile/contrib/libopencl-stub/include/CL/cl_ext.h caffe2/mobile/contrib/libopencl-stub/include/CL/cl_gl.h caffe2/mobile/contrib/libopencl-stub/include/CL/cl_gl_ext.h caffe2/mobile/contrib/libopencl-stub/include/CL/cl_platform.h caffe2/mobile/contrib/libopencl-stub/include/CL/opencl.h
+ rm caffe2/mobile/contrib/libopencl-stub/include/CL/cl.hpp
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Gg5oir
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd pytorch-975d4284250170602db60adfda5eb1664a3b8acc
++ cat /proc/cpuinfo
++ grep -m 1 'cpu cores'
++ awk '{ print $4 }'
+ COMPILE_JOBS=1
+ '[' 1x = x ']'
+ BUILD_MEM=2
+ MEM_KB=0
++ cat /proc/meminfo
++ grep MemTotal
++ awk '{ print $2 }'
+ MEM_KB=15333272
++ eval 'expr 15333272 / 1024'
+++ expr 15333272 / 1024
+ MEM_MB=14973
++ eval 'expr 14973 / 1024'
+++ expr 14973 / 1024
+ MEM_GB=14
++ eval 'expr 1 + 14 / 2'
+++ expr 1 + 14 / 2
+ COMPILE_JOBS_MEM=8
+ '[' 8 -lt 1 ']'
+ export MAX_JOBS=1
+ MAX_JOBS=1
+ export CMAKE_EXE_LINKER_FLAGS=-pie
+ CMAKE_EXE_LINKER_FLAGS=-pie
+ export BUILD_CUSTOM_PROTOBUF=OFF
+ BUILD_CUSTOM_PROTOBUF=OFF
+ export BUILD_NVFUSER=OFF
+ BUILD_NVFUSER=OFF
+ export BUILD_SHARED_LIBS=ON
+ BUILD_SHARED_LIBS=ON
+ export BUILD_TEST=OFF
+ BUILD_TEST=OFF
+ export CMAKE_BUILD_TYPE=RelWithDebInfo
+ CMAKE_BUILD_TYPE=RelWithDebInfo
+ export CMAKE_FIND_PACKAGE_PREFER_CONFIG=ON
+ CMAKE_FIND_PACKAGE_PREFER_CONFIG=ON
+ export CAFFE2_LINK_LOCAL_PROTOBUF=OFF
+ CAFFE2_LINK_LOCAL_PROTOBUF=OFF
+ export INTERN_BUILD_MOBILE=OFF
+ INTERN_BUILD_MOBILE=OFF
+ export USE_DISTRIBUTED=OFF
+ USE_DISTRIBUTED=OFF
+ export USE_CUDA=OFF
+ USE_CUDA=OFF
+ export USE_FBGEMM=OFF
+ USE_FBGEMM=OFF
+ export USE_GOLD_LINKER=OFF
+ USE_GOLD_LINKER=OFF
+ export USE_ITT=OFF
+ USE_ITT=OFF
+ export USE_KINETO=OFF
+ USE_KINETO=OFF
+ export USE_LITE_INTERPRETER_PROFILER=OFF
+ USE_LITE_INTERPRETER_PROFILER=OFF
+ export USE_LITE_PROTO=OFF
+ USE_LITE_PROTO=OFF
+ export USE_MKLDNN=OFF
+ USE_MKLDNN=OFF
+ export USE_NCCL=OFF
+ USE_NCCL=OFF
+ export USE_NNPACK=OFF
+ USE_NNPACK=OFF
+ export USE_NUMPY=ON
+ USE_NUMPY=ON
+ export USE_OPENMP=ON
+ USE_OPENMP=ON
+ export USE_PYTORCH_QNNPACK=OFF
+ USE_PYTORCH_QNNPACK=OFF
+ export USE_QNNPACK=OFF
+ USE_QNNPACK=OFF
+ export USE_ROCM=OFF
+ USE_ROCM=OFF
+ export USE_SYSTEM_CPUINFO=ON
+ USE_SYSTEM_CPUINFO=ON
+ export USE_SYSTEM_SLEEF=ON
+ USE_SYSTEM_SLEEF=ON
+ export USE_SYSTEM_EIGEN_INSTALL=ON
+ USE_SYSTEM_EIGEN_INSTALL=ON
+ export USE_SYSTEM_FP16=ON
+ USE_SYSTEM_FP16=ON
+ export USE_SYSTEM_PTHREADPOOL=ON
+ USE_SYSTEM_PTHREADPOOL=ON
+ export USE_SYSTEM_PSIMD=ON
+ USE_SYSTEM_PSIMD=ON
+ export USE_SYSTEM_FXDIV=ON
+ USE_SYSTEM_FXDIV=ON
+ export USE_SYSTEM_ONNX=ON
+ USE_SYSTEM_ONNX=ON
+ export USE_SYSTEM_XNNPACK=ON
+ USE_SYSTEM_XNNPACK=ON
+ export USE_SYSTEM_PYBIND11=OFF
+ USE_SYSTEM_PYBIND11=OFF
+ export USE_SYSTEM_LIBS=OFF
+ USE_SYSTEM_LIBS=OFF
+ export USE_TENSORPIPE=OFF
+ USE_TENSORPIPE=OFF
+ export USE_XNNPACK=ON
+ USE_XNNPACK=ON
+ export BUILD_CAFFE2=ON
+ BUILD_CAFFE2=ON
+ export USE_OPENCV=ON
+ USE_OPENCV=ON
+ CFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP'
-- The CXX compiler identification is GNU 14.0.1
-- The C compiler identification is GNU 14.0.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- /usr/bin/g++ /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/abi-check.cpp -o /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/abi-check
-- Determined _GLIBCXX_USE_CXX11_ABI=1
-- Not forcing any particular BLAS to be found
-- Could not find ccache. Consider installing ccache to speed up compilation.
-- Performing Test C_HAS_AVX_1
-- Performing Test C_HAS_AVX_1 - Failed
-- Performing Test C_HAS_AVX_2
-- Performing Test C_HAS_AVX_2 - Success
-- Performing Test C_HAS_AVX2_1
-- Performing Test C_HAS_AVX2_1 - Failed
-- Performing Test C_HAS_AVX2_2
-- Performing Test C_HAS_AVX2_2 - Success
-- Performing Test C_HAS_AVX512_1
-- Performing Test C_HAS_AVX512_1 - Failed
-- Performing Test C_HAS_AVX512_2
-- Performing Test C_HAS_AVX512_2 - Success
-- Performing Test CXX_HAS_AVX_1
-- Performing Test CXX_HAS_AVX_1 - Failed
-- Performing Test CXX_HAS_AVX_2
-- Performing Test CXX_HAS_AVX_2 - Success
-- Performing Test CXX_HAS_AVX2_1
-- Performing Test CXX_HAS_AVX2_1 - Failed
-- Performing Test CXX_HAS_AVX2_2
-- Performing Test CXX_HAS_AVX2_2 - Success
-- Performing Test CXX_HAS_AVX512_1
-- Performing Test CXX_HAS_AVX512_1 - Failed
-- Performing Test CXX_HAS_AVX512_2
-- Performing Test CXX_HAS_AVX512_2 - Success
-- Current compiler supports avx2 extension. Will build perfkernels.
-- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS
-- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS - Success
-- Current compiler supports avx512f extension. Will build fbgemm.
-- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC - Success
-- Caffe2: Found protobuf with new-style protobuf targets.
-- Caffe2 protobuf include directory: /usr/include
-- Found Threads: TRUE  
-- Trying to find preferred BLAS backend of choice: MKL
-- MKL_THREADING = OMP
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- MKL_THREADING = OMP
CMake Warning at cmake/Dependencies.cmake:236 (message):
  MKL could not be found.  Defaulting to Eigen
Call Stack (most recent call first):
  CMakeLists.txt:761 (include)
CMake Warning at cmake/Dependencies.cmake:273 (message):
  Preferred BLAS (MKL) cannot be found, now searching for a general BLAS
  library
Call Stack (most recent call first):
  CMakeLists.txt:761 (include)
-- MKL_THREADING = OMP
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_core - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_core - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_core - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_core - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl - guide - pthread - m]
--   Library mkl: not found
-- MKL library not found
-- Checking for [blis]
--   Library blis: BLAS_blis_LIBRARY-NOTFOUND
-- Checking for [Accelerate]
--   Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND
-- Checking for [vecLib]
--   Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND
-- Checking for [flexiblas]
--   Library flexiblas: BLAS_flexiblas_LIBRARY-NOTFOUND
-- Checking for [openblas]
--   Library openblas: /usr/lib64/libopenblas.so
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Performing Test BLAS_F2C_DOUBLE_WORKS
-- Performing Test BLAS_F2C_DOUBLE_WORKS - Failed
-- Performing Test BLAS_F2C_FLOAT_WORKS
-- Performing Test BLAS_F2C_FLOAT_WORKS - Success
-- Performing Test BLAS_USE_CBLAS_DOT
-- Performing Test BLAS_USE_CBLAS_DOT - Success
-- Looking for sbgemm_
-- Looking for sbgemm_ - not found
-- Found a library with BLAS API (open). Full path: (/usr/lib64/libopenblas.so)
-- Using pocketfft in directory: /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/third_party/pocketfft/
-- Found pthreadpool: /usr/lib64/libpthreadpool.so
Found cpuinfo: /usr/lib64/libcpuinfo.so
-- Found XNNPACK: /usr/lib64/libXNNPACK.so
CMake Warning at cmake/Dependencies.cmake:857 (message):
  Turning USE_FAKELOWP off as it depends on USE_FBGEMM.
Call Stack (most recent call first):
  CMakeLists.txt:761 (include)
-- Could NOT find Numa (missing: Numa_INCLUDE_DIR Numa_LIBRARIES) 
CMake Warning at cmake/Dependencies.cmake:903 (message):
  Not compiling with NUMA.  Suppress this warning with -DUSE_NUMA=OFF
Call Stack (most recent call first):
  CMakeLists.txt:761 (include)
-- OpenCV found (/usr/lib64/cmake/OpenCV)
-- Found system Eigen at /usr/include/eigen3
CMake Warning (dev) at cmake/Dependencies.cmake:1086 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  CMakeLists.txt:761 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.12.2", minimum required is "3.0") 
CMake Warning (dev) at cmake/Dependencies.cmake:1087 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  CMakeLists.txt:761 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Found PythonLibs: /usr/lib64/libpython3.12.so.1.0 (found suitable version "3.12.2", minimum required is "3.0") 
-- Using third_party/pybind11.
-- pybind11 include dirs: /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/cmake/../third_party/pybind11/include
-- MKL_THREADING = OMP
-- Check OMP with lib /usr/lib64/libomp.so and flags -fopenmp -v
-- MKL_THREADING = OMP
-- Check OMP with lib /usr/lib64/libomp.so and flags -fopenmp -v
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Adding OpenMP CXX_FLAGS: -fopenmp
-- Will link against OpenMP libraries: /usr/lib64/libomp.so
CMake Warning at cmake/Dependencies.cmake:1516 (message):
  Metal is only used in ios builds.
Call Stack (most recent call first):
  CMakeLists.txt:761 (include)
-- Found onnx: /usr/lib64/libonnx.so /usr/lib64/libonnx_proto.so
-- Found CUDA with FP16 support, compiling with torch.cuda.HalfTensor
-- Removing -DNDEBUG from compile flags
-- Checking prototype magma_get_sgeqrf_nb for MAGMA_V2
-- Checking prototype magma_get_sgeqrf_nb for MAGMA_V2 - False
CMake Warning at cmake/Dependencies.cmake:1717 (message):
  Not compiling with MAGMA.  Suppress this warning with -DUSE_MAGMA=OFF.
Call Stack (most recent call first):
  CMakeLists.txt:761 (include)
CMake Warning (dev) at cmake/Modules/FindARM.cmake:5 (EXEC_PROGRAM):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
  Use execute_process() instead.
Call Stack (most recent call first):
  cmake/Dependencies.cmake:1727 (find_package)
  CMakeLists.txt:761 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Could not find hardware support for NEON on this machine.
-- No OMAP3 processor on this machine.
-- No OMAP4 processor on this machine.
-- MKL_THREADING = OMP
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_core - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_core - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_core - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_core - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl - guide - pthread - m]
--   Library mkl: not found
-- MKL library not found
-- Checking for [blis]
--   Library blis: BLAS_blis_LIBRARY-NOTFOUND
-- Checking for [Accelerate]
--   Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND
-- Checking for [vecLib]
--   Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND
-- Checking for [flexiblas]
--   Library flexiblas: BLAS_flexiblas_LIBRARY-NOTFOUND
-- Checking for [openblas]
--   Library openblas: /usr/lib64/libopenblas.so
-- Found a library with BLAS API (open). Full path: (/usr/lib64/libopenblas.so)
-- Looking for cheev_
-- Looking for cheev_ - found
-- Looking for cgesdd_
-- Looking for cgesdd_ - found
-- Found a library with LAPACK API (open).
-- MIOpen not found. Compiling without MIOpen support
disabling CUDA because NOT USE_CUDA is set
disabling ROCM because NOT USE_ROCM is set
disabling MKLDNN because USE_MKLDNN is not set
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for shm_open
-- Looking for shm_open - found
-- Looking for shm_unlink
-- Looking for shm_unlink - found
-- Looking for malloc_usable_size
-- Looking for malloc_usable_size - found
-- <FindZVECTOR>
CMake Warning (dev) at cmake/Modules/FindZVECTOR.cmake:6 (EXEC_PROGRAM):
  Policy CMP0153 is not set: The exec_program command should not be called.
  Run "cmake --help-policy CMP0153" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
  Use execute_process() instead.
Call Stack (most recent call first):
  cmake/Dependencies.cmake:1841 (find_package)
  CMakeLists.txt:761 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- check z16
-- Performing Test COMPILE_OUT_z16
-- Performing Test COMPILE_OUT_z16 - Failed
-- Performing Test COMPILE_OUT_z15
-- check z15
-- Performing Test COMPILE_OUT_z15 - Failed
-- Performing Test COMPILE_OUT_z14
-- check z14
-- Performing Test COMPILE_OUT_z14 - Failed
-- </FindZVECTOR>
-- GCC 14.0.1: Adding gcc and gcc_s libs to link line
-- Performing Test HAS_WERROR_RETURN_TYPE
-- Performing Test HAS_WERROR_RETURN_TYPE - Success
-- Performing Test HAS_WERROR_NON_VIRTUAL_DTOR
-- Performing Test HAS_WERROR_NON_VIRTUAL_DTOR - Success
-- Performing Test HAS_WERROR_BRACED_SCALAR_INIT
-- Performing Test HAS_WERROR_BRACED_SCALAR_INIT - Failed
-- Performing Test HAS_WERROR_RANGE_LOOP_CONSTRUCT
-- Performing Test HAS_WERROR_RANGE_LOOP_CONSTRUCT - Success
-- Performing Test HAS_WERROR_BOOL_OPERATION
-- Performing Test HAS_WERROR_BOOL_OPERATION - Success
-- Performing Test HAS_WNARROWING
-- Performing Test HAS_WNARROWING - Success
-- Performing Test HAS_WNO_MISSING_FIELD_INITIALIZERS
-- Performing Test HAS_WNO_MISSING_FIELD_INITIALIZERS - Success
-- Performing Test HAS_WNO_TYPE_LIMITS
-- Performing Test HAS_WNO_TYPE_LIMITS - Success
-- Performing Test HAS_WNO_ARRAY_BOUNDS
-- Performing Test HAS_WNO_ARRAY_BOUNDS - Success
-- Performing Test HAS_WNO_UNKNOWN_PRAGMAS
-- Performing Test HAS_WNO_UNKNOWN_PRAGMAS - Success
-- Performing Test HAS_WNO_UNUSED_PARAMETER
-- Performing Test HAS_WNO_UNUSED_PARAMETER - Success
-- Performing Test HAS_WNO_UNUSED_FUNCTION
-- Performing Test HAS_WNO_UNUSED_FUNCTION - Success
-- Performing Test HAS_WNO_UNUSED_RESULT
-- Performing Test HAS_WNO_UNUSED_RESULT - Success
-- Performing Test HAS_WNO_STRICT_OVERFLOW
-- Performing Test HAS_WNO_STRICT_OVERFLOW - Success
-- Performing Test HAS_WNO_STRICT_ALIASING
-- Performing Test HAS_WNO_STRICT_ALIASING - Success
-- Performing Test HAS_WNO_STRINGOP_OVERFLOW
-- Performing Test HAS_WNO_STRINGOP_OVERFLOW - Success
-- Performing Test HAS_WVLA_EXTENSION
-- Performing Test HAS_WVLA_EXTENSION - Failed
-- Performing Test HAS_WSUGGEST_OVERRIDE
-- Performing Test HAS_WSUGGEST_OVERRIDE - Success
-- Performing Test HAS_WNEWLINE_EOF
-- Performing Test HAS_WNEWLINE_EOF - Failed
-- Performing Test HAS_WINCONSISTENT_MISSING_OVERRIDE
-- Performing Test HAS_WINCONSISTENT_MISSING_OVERRIDE - Failed
-- Performing Test HAS_WINCONSISTENT_MISSING_DESTRUCTOR_OVERRIDE
-- Performing Test HAS_WINCONSISTENT_MISSING_DESTRUCTOR_OVERRIDE - Failed
-- Performing Test HAS_WNO_ERROR_PEDANTIC
-- Performing Test HAS_WNO_ERROR_PEDANTIC - Success
-- Performing Test HAS_WNO_ERROR_OLD_STYLE_CAST
-- Performing Test HAS_WNO_ERROR_OLD_STYLE_CAST - Success
-- Performing Test HAS_WNO_ERROR_INCONSISTENT_MISSING_OVERRIDE
-- Performing Test HAS_WNO_ERROR_INCONSISTENT_MISSING_OVERRIDE - Failed
-- Performing Test HAS_WNO_ERROR_INCONSISTENT_MISSING_DESTRUCTOR_OVERRIDE
-- Performing Test HAS_WNO_ERROR_INCONSISTENT_MISSING_DESTRUCTOR_OVERRIDE - Failed
-- Performing Test HAS_WCONSTANT_CONVERSION
-- Performing Test HAS_WCONSTANT_CONVERSION - Failed
-- Performing Test HAS_WNO_INVALID_PARTIAL_SPECIALIZATION
-- Performing Test HAS_WNO_INVALID_PARTIAL_SPECIALIZATION - Failed
-- Performing Test HAS_WNO_ALIGNED_ALLOCATION_UNAVAILABLE
-- Performing Test HAS_WNO_ALIGNED_ALLOCATION_UNAVAILABLE - Failed
-- Performing Test HAS_WNO_MISSING_BRACES
-- Performing Test HAS_WNO_MISSING_BRACES - Success
-- Performing Test HAS_QUNUSED_ARGUMENTS
-- Performing Test HAS_QUNUSED_ARGUMENTS - Failed
-- Performing Test HAS_FDIAGNOSTICS_COLOR_ALWAYS
-- Performing Test HAS_FDIAGNOSTICS_COLOR_ALWAYS - Success
-- Performing Test HAS_FALIGNED_NEW
-- Performing Test HAS_FALIGNED_NEW - Success
-- Performing Test HAS_WNO_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAS_WNO_UNUSED_BUT_SET_VARIABLE - Success
-- Performing Test HAS_WNO_MAYBE_UNINITIALIZED
-- Performing Test HAS_WNO_MAYBE_UNINITIALIZED - Success
-- Performing Test HAS_FSTANDALONE_DEBUG
-- Performing Test HAS_FSTANDALONE_DEBUG - Failed
-- Performing Test HAS_FNO_MATH_ERRNO
-- Performing Test HAS_FNO_MATH_ERRNO - Success
-- Performing Test HAS_FNO_TRAPPING_MATH
-- Performing Test HAS_FNO_TRAPPING_MATH - Success
-- Performing Test HAS_WERROR_FORMAT
-- Performing Test HAS_WERROR_FORMAT - Success
-- Performing Test HAS_WDEPRECATED
-- Performing Test HAS_WDEPRECATED - Success
-- don't use NUMA
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include  
-- headers outputs: 
-- sources outputs: 
-- declarations_yaml outputs: 
-- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT
-- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT - Success
-- Using ATen parallel backend: OMP
disabling CUDA because USE_CUDA is set false
Found sleef: /usr/lib64/libsleef.so
AT_INSTALL_INCLUDE_DIR include/ATen/core
core header install: /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/core/TensorBody.h
core header install: /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/core/aten_interned_strings.h
core header install: /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/core/enum_tag.h
-- NCCL operators skipped due to no CUDA support
-- Excluding FakeLowP operators
-- Excluding ideep operators as we are not using ideep
FATALIncluding image processing operators
-- Excluding video processing operators due to no opencv
-- MPI operators skipped due to no MPI support
-- Include Observer library
-- _GLIBCXX_USE_CXX11_ABI=1 is already defined as a cmake variable
-- Using lib/python3.12/site-packages as python relative installation path
CMake Warning at CMakeLists.txt:1135 (message):
  Generated cmake files are only fully tested if one builds with system glog,
  gflags, and protobuf.  Other settings may generate files that are not well
  tested.
-- 
-- ******** Summary ********
-- General:
--   CMake version         : 3.28.3
--   CMake command         : /usr/bin/cmake
--   System                : Linux
--   C++ compiler          : /usr/bin/g++
--   C++ compiler id       : GNU
--   C++ compiler version  : 14.0.1
--   Using ccache if found : ON
--   Found ccache          : CCACHE_PROGRAM-NOTFOUND
--   CXX flags             : -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=pedantic -Wno-error=old-style-cast -Wno-missing-braces -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow
--   Build type            : RelWithDebInfo
--   Compile definitions   : FLASHATTENTION_DISABLE_ALIBI;ONNX_ML=1;ONNXIFI_ENABLE_EXT=1;ONNX_NAMESPACE=onnx;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1;HAVE_MALLOC_USABLE_SIZE=1;USE_EXTERNAL_MZCRC;MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS
--   CMAKE_PREFIX_PATH     : /usr/lib/python3.12/site-packages
--   CMAKE_INSTALL_PREFIX  : /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch
--   USE_GOLD_LINKER       : OFF
-- 
--   TORCH_VERSION         : 2.3.0
--   BUILD_CAFFE2          : ON
--   BUILD_CAFFE2_OPS      : ON
--   BUILD_STATIC_RUNTIME_BENCHMARK: OFF
--   BUILD_BINARY          : OFF
--   BUILD_CUSTOM_PROTOBUF : OFF
--     Protobuf compiler   : /usr/bin/protoc
--     Protobuf includes   : /usr/include
--     Protobuf libraries  : /usr/lib64/libprotobuf.so
--   BUILD_DOCS            : OFF
--   BUILD_PYTHON          : True
--     Python version      : 3.12.2
--     Python executable   : /usr/bin/python3
--     Pythonlibs version  : 3.12.2
--     Python library      : /usr/lib64/libpython3.12.so.1.0
--     Python includes     : /usr/include/python3.12
--     Python site-packages: lib/python3.12/site-packages
--   BUILD_SHARED_LIBS     : ON
--   CAFFE2_USE_MSVC_STATIC_RUNTIME     : OFF
--   BUILD_TEST            : False
--   BUILD_JNI             : OFF
--   BUILD_MOBILE_AUTOGRAD : OFF
--   BUILD_LITE_INTERPRETER: OFF
--   INTERN_BUILD_MOBILE   : 
--   TRACING_BASED         : OFF
--   USE_BLAS              : 1
--     BLAS                : open
--     BLAS_HAS_SBGEMM     : 
--   USE_LAPACK            : 1
--     LAPACK              : open
--   USE_ASAN              : OFF
--   USE_TSAN              : OFF
--   USE_CPP_CODE_COVERAGE : OFF
--   USE_CUDA              : OFF
--   USE_XPU               : OFF
--   USE_ROCM              : OFF
--   BUILD_NVFUSER         : OFF
--   USE_EIGEN_FOR_BLAS    : ON
--   USE_FBGEMM            : OFF
--     USE_FAKELOWP          : OFF
--   USE_KINETO            : OFF
--   USE_FFMPEG            : OFF
--   USE_GFLAGS            : OFF
--   USE_GLOG              : OFF
--   USE_LEVELDB           : OFF
--   USE_LITE_PROTO        : OFF
--   USE_LMDB              : OFF
--   USE_METAL             : OFF
--   USE_PYTORCH_METAL     : OFF
--   USE_PYTORCH_METAL_EXPORT     : OFF
--   USE_MPS               : OFF
--   USE_MKL               : OFF
--   USE_MKLDNN            : OFF
--   USE_UCC               : OFF
--   USE_ITT               : OFF
--   USE_NCCL              : OFF
--   USE_NNPACK            : OFF
--   USE_NUMPY             : ON
--   USE_OBSERVERS         : ON
--   USE_OPENCL            : OFF
--   USE_OPENCV            : ON
--     OpenCV version      : 4.9.0
--   USE_OPENMP            : ON
--   USE_TBB               : OFF
--   USE_MIMALLOC          : OFF
--   USE_VULKAN            : OFF
--   USE_PROF              : OFF
--   USE_QNNPACK           : OFF
--   USE_PYTORCH_QNNPACK   : OFF
--   USE_XNNPACK           : ON
--   USE_REDIS             : OFF
--   USE_ROCKSDB           : OFF
--   USE_ZMQ               : OFF
--   USE_DISTRIBUTED       : OFF
--   Public Dependencies  : 
--   Private Dependencies : Threads::Threads;pthreadpool;cpuinfo;XNNPACK;opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs;opencv_optflow;opencv_videoio;opencv_video;fp16;caffe2::openmp;aten_op_header_gen;onnx_proto;onnx;foxi_loader;rt;gcc_s;gcc;dl
--   Public CUDA Deps.    : 
--   Private CUDA Deps.   : 
--   USE_COREML_DELEGATE     : OFF
--   BUILD_LAZY_TS_BACKEND   : ON
--   USE_ROCM_KERNEL_ASSERT : OFF
-- Performing Test HAS_WMISSING_PROTOTYPES
-- Performing Test HAS_WMISSING_PROTOTYPES - Failed
-- Performing Test HAS_WERROR_MISSING_PROTOTYPES
-- Performing Test HAS_WERROR_MISSING_PROTOTYPES - Failed
-- Configuring done (30.2s)
-- Generating done (0.8s)
-- Build files have been written to: /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build
[1/4] Generating ATen headers
[2/4] Generating ATen sources
[3/4] Generating ATen declarations_yaml
[1/2465] Linking C static library lib/libfp16.a
[2/2465] Building CXX object c10/CMakeFiles/c10.dir/core/Allocator.cpp.o
[3/2465] Building CXX object c10/CMakeFiles/c10.dir/core/AutogradState.cpp.o
[4/2465] Building CXX object c10/CMakeFiles/c10.dir/core/CPUAllocator.cpp.o
[5/2465] Building CXX object c10/CMakeFiles/c10.dir/core/ConstantSymNodeImpl.cpp.o
[6/2465] Building CXX object c10/CMakeFiles/c10.dir/core/CopyBytes.cpp.o
[7/2465] Building CXX object c10/CMakeFiles/c10.dir/core/DefaultDtype.cpp.o
[8/2465] Building CXX object c10/CMakeFiles/c10.dir/core/Device.cpp.o
[9/2465] Building CXX object c10/CMakeFiles/c10.dir/core/DeviceType.cpp.o
[10/2465] Building CXX object c10/CMakeFiles/c10.dir/core/DispatchKey.cpp.o
[11/2465] Building CXX object c10/CMakeFiles/c10.dir/core/DispatchKeySet.cpp.o
[12/2465] Building CXX object c10/CMakeFiles/c10.dir/core/GeneratorImpl.cpp.o
[13/2465] Building CXX object c10/CMakeFiles/c10.dir/core/GradMode.cpp.o
[14/2465] Building CXX object c10/CMakeFiles/c10.dir/core/InferenceMode.cpp.o
[15/2465] Building CXX object c10/CMakeFiles/c10.dir/core/RefcountedDeleter.cpp.o
[16/2465] Building CXX object c10/CMakeFiles/c10.dir/core/SafePyObject.cpp.o
[17/2465] Building CXX object c10/CMakeFiles/c10.dir/core/Scalar.cpp.o
[18/2465] Building CXX object c10/CMakeFiles/c10.dir/core/ScalarType.cpp.o
[19/2465] Building CXX object c10/CMakeFiles/c10.dir/core/Storage.cpp.o
[20/2465] Building CXX object c10/CMakeFiles/c10.dir/core/StorageImpl.cpp.o
[21/2465] Building CXX object c10/CMakeFiles/c10.dir/core/Stream.cpp.o
[22/2465] Building CXX object c10/CMakeFiles/c10.dir/core/SymBool.cpp.o
[23/2465] Building CXX object c10/CMakeFiles/c10.dir/core/SymFloat.cpp.o
[24/2465] Building CXX object c10/CMakeFiles/c10.dir/core/SymInt.cpp.o
[25/2465] Building CXX object c10/CMakeFiles/c10.dir/core/SymIntArrayRef.cpp.o
[26/2465] Building CXX object c10/CMakeFiles/c10.dir/core/SymNodeImpl.cpp.o
[27/2465] Building CXX object c10/CMakeFiles/c10.dir/core/SymbolicShapeMeta.cpp.o
[28/2465] Building CXX object c10/CMakeFiles/c10.dir/core/TensorImpl.cpp.o
[29/2465] Building CXX object c10/CMakeFiles/c10.dir/core/TensorOptions.cpp.o
[30/2465] Building CXX object c10/CMakeFiles/c10.dir/core/UndefinedTensorImpl.cpp.o
[31/2465] Building CXX object c10/CMakeFiles/c10.dir/core/WrapDimMinimal.cpp.o
[32/2465] Building CXX object c10/CMakeFiles/c10.dir/core/impl/COW.cpp.o
[33/2465] Building CXX object c10/CMakeFiles/c10.dir/core/impl/COWDeleter.cpp.o
[34/2465] Building CXX object c10/CMakeFiles/c10.dir/core/impl/DeviceGuardImplInterface.cpp.o
[35/2465] Building CXX object c10/CMakeFiles/c10.dir/core/impl/GPUTrace.cpp.o
[36/2465] Building CXX object c10/CMakeFiles/c10.dir/core/impl/HermeticPyObjectTLS.cpp.o
[37/2465] Building CXX object c10/CMakeFiles/c10.dir/core/impl/LocalDispatchKeySet.cpp.o
[38/2465] Building CXX object c10/CMakeFiles/c10.dir/core/impl/PyInterpreter.cpp.o
[39/2465] Building CXX object c10/CMakeFiles/c10.dir/core/impl/PyObjectSlot.cpp.o
[40/2465] Building CXX object c10/CMakeFiles/c10.dir/core/impl/PythonDispatcherTLS.cpp.o
[41/2465] Building CXX object c10/CMakeFiles/c10.dir/core/impl/SizesAndStrides.cpp.o
[42/2465] Building CXX object c10/CMakeFiles/c10.dir/core/impl/TorchDispatchModeTLS.cpp.o
[43/2465] Building CXX object c10/CMakeFiles/c10.dir/core/impl/alloc_cpu.cpp.o
[44/2465] Building CXX object c10/CMakeFiles/c10.dir/core/thread_pool.cpp.o
[45/2465] Building CXX object c10/CMakeFiles/c10.dir/mobile/CPUCachingAllocator.cpp.o
[46/2465] Building CXX object c10/CMakeFiles/c10.dir/mobile/CPUProfilingAllocator.cpp.o
[47/2465] Building CXX object c10/CMakeFiles/c10.dir/util/ApproximateClock.cpp.o
[48/2465] Building CXX object c10/CMakeFiles/c10.dir/util/Backtrace.cpp.o
[49/2465] Building CXX object c10/CMakeFiles/c10.dir/util/C++17.cpp.o
[50/2465] Building CXX object c10/CMakeFiles/c10.dir/util/DeadlockDetection.cpp.o
[51/2465] Building CXX object c10/CMakeFiles/c10.dir/util/Exception.cpp.o
[52/2465] Building CXX object c10/CMakeFiles/c10.dir/util/Float8_e4m3fn.cpp.o
[53/2465] Building CXX object c10/CMakeFiles/c10.dir/util/Float8_e4m3fnuz.cpp.o
[54/2465] Building CXX object c10/CMakeFiles/c10.dir/util/Float8_e5m2.cpp.o
[55/2465] Building CXX object c10/CMakeFiles/c10.dir/util/Float8_e5m2fnuz.cpp.o
[56/2465] Building CXX object c10/CMakeFiles/c10.dir/util/Half.cpp.o
[57/2465] Building CXX object c10/CMakeFiles/c10.dir/util/LeftRight.cpp.o
[58/2465] Building CXX object c10/CMakeFiles/c10.dir/util/Logging.cpp.o
[59/2465] Building CXX object c10/CMakeFiles/c10.dir/util/MathConstants.cpp.o
[60/2465] Building CXX object c10/CMakeFiles/c10.dir/util/Metaprogramming.cpp.o
[61/2465] Building CXX object c10/CMakeFiles/c10.dir/util/Optional.cpp.o
[62/2465] Building CXX object c10/CMakeFiles/c10.dir/util/ParallelGuard.cpp.o
[63/2465] Building CXX object c10/CMakeFiles/c10.dir/util/SmallVector.cpp.o
[64/2465] Building CXX object c10/CMakeFiles/c10.dir/util/StringUtil.cpp.o
[65/2465] Building CXX object c10/CMakeFiles/c10.dir/util/ThreadLocalDebugInfo.cpp.o
[66/2465] Building CXX object c10/CMakeFiles/c10.dir/util/TypeCast.cpp.o
[67/2465] Building CXX object c10/CMakeFiles/c10.dir/util/TypeList.cpp.o
[68/2465] Building CXX object c10/CMakeFiles/c10.dir/util/TypeTraits.cpp.o
[69/2465] Building CXX object c10/CMakeFiles/c10.dir/util/Type_demangle.cpp.o
[70/2465] Building CXX object c10/CMakeFiles/c10.dir/util/Type_no_demangle.cpp.o
[71/2465] Building CXX object c10/CMakeFiles/c10.dir/util/Unicode.cpp.o
[72/2465] Building CXX object c10/CMakeFiles/c10.dir/util/UniqueVoidPtr.cpp.o
[73/2465] Building CXX object c10/CMakeFiles/c10.dir/util/complex_math.cpp.o
[74/2465] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_gflags.cpp.o
[75/2465] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_no_gflags.cpp.o
[76/2465] Building CXX object c10/CMakeFiles/c10.dir/util/int128.cpp.o
[77/2465] Building CXX object c10/CMakeFiles/c10.dir/util/intrusive_ptr.cpp.o
[78/2465] Building CXX object c10/CMakeFiles/c10.dir/util/numa.cpp.o
[79/2465] Building CXX object c10/CMakeFiles/c10.dir/util/signal_handler.cpp.o
[80/2465] Building CXX object c10/CMakeFiles/c10.dir/util/tempfile.cpp.o
[81/2465] Building CXX object c10/CMakeFiles/c10.dir/util/thread_name.cpp.o
[82/2465] Building CXX object c10/CMakeFiles/c10.dir/util/typeid.cpp.o
[83/2465] Linking CXX shared library lib/libc10.so
[84/2465] Building C object caffe2/CMakeFiles/torch_global_deps.dir/__/torch/csrc/empty.c.o
[85/2465] Linking C shared library lib/libtorch_global_deps.so
[86/2465] Generating contrib/aten/aten_op.h
Skipping rename Because of Arg: c10::optional<at::DimnameList> (at::DimnameList) 
Skipping align_to Because of Arg: at::DimnameList (at::DimnameList) 
Skipping align_to Because of Arg: at::DimnameList (at::DimnameList) 
Skipping _functional_assert_scalar Because of Arg: c10::string_view (c10::string_view) 
Skipping _functional_assert_async Because of Arg: c10::string_view (c10::string_view) 
Skipping _functional_sym_constrain_range Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping _functional_sym_constrain_range_for_size Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping _make_dep_token because it is a factory method
Skipping refine_names Because of Arg: at::DimnameList (at::DimnameList) 
Skipping _cudnn_rnn_backward Because of Arg: ::std::array<bool,4> (::std::array<bool,4>) 
Skipping _cudnn_init_dropout_state because it is a factory method
Skipping _fused_dropout Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping native_dropout Because of Arg: c10::optional<bool> (bool) 
Skipping _sobol_engine_draw Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping chalf Because of Arg: c10::optional<at::MemoryFormat> (at::MemoryFormat) 
Skipping all Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping all Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping all Because of Arg: at::Dimname (at::Dimname) 
Skipping all Because of Arg: at::Dimname (at::Dimname) 
Skipping any Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping any Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping any Because of Arg: at::Dimname (at::Dimname) 
Skipping any Because of Arg: at::Dimname (at::Dimname) 
Skipping arange because it is a factory method
Skipping argmax Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping argmax Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping argmin Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping argmin Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping as_strided Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping bartlett_window because it is a factory method
Skipping bernoulli Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping bernoulli Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping blackman_window because it is a factory method
Skipping cat Because of Arg: at::Dimname (at::Dimname) 
Skipping concat Because of Arg: at::Dimname (at::Dimname) 
Skipping concatenate Because of Arg: at::Dimname (at::Dimname) 
Skipping clamp Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping clamp Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping clip Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping clip Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping contiguous Because of Arg: at::MemoryFormat (at::MemoryFormat) 
Skipping convolution_backward Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping _convolution_mode Because of Arg: c10::string_view (c10::string_view) 
Skipping conv1d Because of Arg: c10::string_view (c10::string_view) 
Skipping conv1d Because of Arg: c10::string_view (c10::string_view) 
Skipping conv1d Because of Arg: c10::string_view (c10::string_view) 
Skipping conv2d Because of Arg: c10::string_view (c10::string_view) 
Skipping conv2d Because of Arg: c10::string_view (c10::string_view) 
Skipping conv2d Because of Arg: c10::string_view (c10::string_view) 
Skipping conv3d Because of Arg: c10::string_view (c10::string_view) 
Skipping conv3d Because of Arg: c10::string_view (c10::string_view) 
Skipping conv3d Because of Arg: c10::string_view (c10::string_view) 
Skipping count_nonzero Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping cudnn_convolution_add_relu Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping cummax Because of Arg: at::Dimname (at::Dimname) 
Skipping cummin Because of Arg: at::Dimname (at::Dimname) 
Skipping cumprod Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping cumprod Because of Arg: at::Dimname (at::Dimname) 
Skipping cumprod Because of Arg: at::Dimname (at::Dimname) 
Skipping cumsum Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping cumsum Because of Arg: at::Dimname (at::Dimname) 
Skipping cumsum Because of Arg: at::Dimname (at::Dimname) 
Skipping diagonal Because of Arg: at::Dimname (at::Dimname) 
Skipping diagonal Because of Arg: at::Dimname (at::Dimname) 
Skipping gradient Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping gradient Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping gradient Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping gradient Because of Arg: at::ArrayRef<at::Scalar> (at::ArrayRef<at::Scalar>) 
Skipping gradient Because of Arg: at::ArrayRef<at::Scalar> (at::ArrayRef<at::Scalar>) 
Skipping gradient Because of Arg: at::ArrayRef<at::Scalar> (at::ArrayRef<at::Scalar>) 
Skipping gradient Because of Arg: at::ArrayRef<at::Scalar> (at::ArrayRef<at::Scalar>) 
Skipping gradient Because of Arg: at::ArrayRef<at::Scalar> (at::ArrayRef<at::Scalar>) 
Skipping gradient Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping gradient Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping div Because of Arg: c10::optional<c10::string_view> (c10::string_view) 
Skipping div Because of Arg: c10::optional<c10::string_view> (c10::string_view) 
Skipping divide Because of Arg: c10::optional<c10::string_view> (c10::string_view) 
Skipping divide Because of Arg: c10::optional<c10::string_view> (c10::string_view) 
Skipping einsum Because of Arg: c10::string_view (c10::string_view) 
Skipping einsum Because of Arg: c10::string_view (c10::string_view) 
Skipping _rowwise_prune Because of Arg: at::ScalarType (at::ScalarType) 
Skipping embedding_bag Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping empty because it is a factory method
Skipping empty_permuted because it is a factory method
Skipping new_empty because it is a factory method
Skipping new_empty_strided because it is a factory method
Skipping new_full because it is a factory method
Skipping new_zeros because it is a factory method
Skipping new_ones because it is a factory method
Skipping _empty_affine_quantized because it is a factory method
Skipping _empty_per_channel_affine_quantized because it is a factory method
Skipping empty_quantized because it is a factory method
Skipping empty_like because it is a factory method
Skipping empty_strided because it is a factory method
Skipping eye because it is a factory method
Skipping flatten Because of Arg: at::Dimname (at::Dimname) 
Skipping flatten Because of Arg: at::Dimname (at::Dimname) 
Skipping flatten Because of Arg: at::DimnameList (at::DimnameList) 
Skipping unflatten Because of Arg: at::Dimname (at::Dimname) 
Skipping full because it is a factory method
Skipping full_like because it is a factory method
Skipping from_file because it is a factory method
Skipping hann_window because it is a factory method
Skipping hamming_window because it is a factory method
Skipping kaiser_window because it is a factory method
Skipping _cufft_get_plan_cache_size Because of Arg: at::DeviceIndex (at::DeviceIndex) 
Skipping _cufft_get_plan_cache_max_size Because of Arg: at::DeviceIndex (at::DeviceIndex) 
Skipping index_copy Because of Arg: at::Dimname (at::Dimname) 
Skipping kthvalue Because of Arg: at::Dimname (at::Dimname) 
Skipping kthvalue Because of Arg: at::Dimname (at::Dimname) 
Skipping nan_to_num Because of Arg: c10::optional<double> (double) 
Skipping nan_to_num Because of Arg: c10::optional<double> (double) 
Skipping nan_to_num Because of Arg: c10::optional<double> (double) 
Skipping _cslt_sparse_mm Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _cslt_sparse_mm Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _cslt_sparse_mm Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _cslt_sparse_mm_search Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _cslt_sparse_mm_search Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _sparse_semi_structured_linear Because of Arg: c10::optional<c10::string_view> (c10::string_view) 
Skipping _sparse_semi_structured_linear Because of Arg: c10::optional<c10::string_view> (c10::string_view) 
Skipping _mixed_dtypes_linear Because of Arg: c10::optional<c10::string_view> (c10::string_view) 
Skipping fbgemm_linear_quantize_weight Because of Ret: double (double)
Skipping linspace because it is a factory method
Skipping logspace because it is a factory method
Skipping log_softmax Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping log_softmax Because of Arg: at::Dimname (at::Dimname) 
Skipping log_softmax Because of Arg: at::Dimname (at::Dimname) 
Skipping _log_softmax_backward_data Because of Arg: at::ScalarType (at::ScalarType) 
Skipping logcumsumexp Because of Arg: at::Dimname (at::Dimname) 
Skipping logsumexp Because of Arg: at::DimnameList (at::DimnameList) 
Skipping logsumexp Because of Arg: at::DimnameList (at::DimnameList) 
Skipping aminmax Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping aminmax Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping max Because of Arg: at::Dimname (at::Dimname) 
Skipping max Because of Arg: at::Dimname (at::Dimname) 
Skipping mean Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping mean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping mean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping mean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping mean Because of Arg: at::DimnameList (at::DimnameList) 
Skipping mean Because of Arg: at::DimnameList (at::DimnameList) 
Skipping mean Because of Arg: at::DimnameList (at::DimnameList) 
Skipping nanmean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping nanmean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping nanmean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping median Because of Arg: at::Dimname (at::Dimname) 
Skipping median Because of Arg: at::Dimname (at::Dimname) 
Skipping nanmedian Because of Arg: at::Dimname (at::Dimname) 
Skipping nanmedian Because of Arg: at::Dimname (at::Dimname) 
Skipping min Because of Arg: at::Dimname (at::Dimname) 
Skipping min Because of Arg: at::Dimname (at::Dimname) 
Skipping miopen_convolution_add_relu Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping miopen_rnn_backward Because of Arg: ::std::array<bool,4> (::std::array<bool,4>) 
Skipping _sparse_mm Because of Arg: c10::string_view (c10::string_view) 
Skipping mode Because of Arg: at::Dimname (at::Dimname) 
Skipping mode Because of Arg: at::Dimname (at::Dimname) 
Skipping ones because it is a factory method
Skipping ones_like because it is a factory method
Skipping cdist Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping _cdist_forward Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping is_pinned Because of Arg: c10::optional<at::Device> (at::Device) 
Skipping pin_memory Because of Arg: c10::optional<at::Device> (at::Device) 
Skipping _pin_memory Because of Arg: c10::optional<at::Device> (at::Device) 
Skipping scalar_tensor because it is a factory method
Skipping rand because it is a factory method
Skipping rand_like because it is a factory method
Skipping randint because it is a factory method
Skipping randint_like because it is a factory method
Skipping randn because it is a factory method
Skipping randn_like because it is a factory method
Skipping randperm because it is a factory method
Skipping range because it is a factory method
Skipping repeat_interleave Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping repeat_interleave Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping repeat_interleave Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping repeat_interleave Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping repeat_interleave Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping rrelu Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping gelu Because of Arg: c10::string_view (c10::string_view) 
Skipping gelu_backward Because of Arg: c10::string_view (c10::string_view) 
Skipping select Because of Arg: at::Dimname (at::Dimname) 
Skipping logit Because of Arg: c10::optional<double> (double) 
Skipping size Because of Arg: at::Dimname (at::Dimname) 
Skipping sym_size Because of Ret: c10::SymInt (int64_t)
Skipping sym_numel Because of Ret: c10::SymInt (int64_t)
Skipping sym_storage_offset Because of Ret: c10::SymInt (int64_t)
Skipping slice Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping slice Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping slice Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping slice_inverse Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping slice_inverse Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping slice_inverse Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping slice_scatter Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping slice_scatter Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping slice_scatter Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping as_strided_scatter Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping softmax Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping softmax Because of Arg: at::Dimname (at::Dimname) 
Skipping softmax Because of Arg: at::Dimname (at::Dimname) 
Skipping _softmax_backward_data Because of Arg: at::ScalarType (at::ScalarType) 
Skipping squeeze Because of Arg: at::Dimname (at::Dimname) 
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping stft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping istft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping istft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping istft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping istft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping istft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping istft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping istft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping istft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping stride Because of Arg: at::Dimname (at::Dimname) 
Skipping sym_stride Because of Ret: c10::SymInt (int64_t)
Skipping sum Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping sum Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping sum Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping sum Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping sum Because of Arg: at::DimnameList (at::DimnameList) 
Skipping sum Because of Arg: at::DimnameList (at::DimnameList) 
Skipping sum Because of Arg: at::DimnameList (at::DimnameList) 
Skipping _nested_sum_backward Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping _nested_sum_backward Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping nansum Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping nansum Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping nansum Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping std Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping std Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping std Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping std Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping std Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping std Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping std_mean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping std_mean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping std_mean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping std_mean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping std_mean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping std_mean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping std_mean Because of Arg: at::DimnameList (at::DimnameList) 
Skipping std_mean Because of Arg: at::DimnameList (at::DimnameList) 
Skipping std_mean Because of Arg: at::DimnameList (at::DimnameList) 
Skipping std_mean Because of Arg: at::DimnameList (at::DimnameList) 
Skipping std_mean Because of Arg: at::DimnameList (at::DimnameList) 
Skipping std_mean Because of Arg: at::DimnameList (at::DimnameList) 
Skipping std Because of Arg: at::DimnameList (at::DimnameList) 
Skipping std Because of Arg: at::DimnameList (at::DimnameList) 
Skipping std Because of Arg: at::DimnameList (at::DimnameList) 
Skipping std Because of Arg: at::DimnameList (at::DimnameList) 
Skipping std Because of Arg: at::DimnameList (at::DimnameList) 
Skipping std Because of Arg: at::DimnameList (at::DimnameList) 
Skipping prod Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping prod Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping prod Because of Arg: at::Dimname (at::Dimname) 
Skipping prod Because of Arg: at::Dimname (at::Dimname) 
Skipping prod Because of Arg: at::Dimname (at::Dimname) 
Skipping transpose Because of Arg: at::Dimname (at::Dimname) 
Skipping unique_consecutive Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping vander Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping vander Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping var Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping var Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping var Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping var Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping var Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping var Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping var Because of Arg: at::DimnameList (at::DimnameList) 
Skipping var Because of Arg: at::DimnameList (at::DimnameList) 
Skipping var Because of Arg: at::DimnameList (at::DimnameList) 
Skipping var Because of Arg: at::DimnameList (at::DimnameList) 
Skipping var Because of Arg: at::DimnameList (at::DimnameList) 
Skipping var Because of Arg: at::DimnameList (at::DimnameList) 
Skipping var_mean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping var_mean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping var_mean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping var_mean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping var_mean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping var_mean Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping var_mean Because of Arg: at::DimnameList (at::DimnameList) 
Skipping var_mean Because of Arg: at::DimnameList (at::DimnameList) 
Skipping var_mean Because of Arg: at::DimnameList (at::DimnameList) 
Skipping var_mean Because of Arg: at::DimnameList (at::DimnameList) 
Skipping var_mean Because of Arg: at::DimnameList (at::DimnameList) 
Skipping var_mean Because of Arg: at::DimnameList (at::DimnameList) 
Skipping zeros because it is a factory method
Skipping _efficientzerotensor because it is a factory method
Skipping zeros_like because it is a factory method
Skipping _standard_gamma Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping _sample_dirichlet Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping poisson Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping binomial Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping native_norm Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping _sparse_sum Because of Arg: at::ScalarType (at::ScalarType) 
Skipping _sparse_sum Because of Arg: at::ScalarType (at::ScalarType) 
Skipping _sparse_csr_sum Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _sparse_csr_prod Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _sparse_softmax Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _sparse_softmax Because of Arg: at::Dimname (at::Dimname) 
Skipping _sparse_softmax Because of Arg: at::Dimname (at::Dimname) 
Skipping _sparse_log_softmax Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _sparse_log_softmax Because of Arg: at::Dimname (at::Dimname) 
Skipping _sparse_log_softmax Because of Arg: at::Dimname (at::Dimname) 
Skipping _spdiags Because of Arg: c10::optional<at::Layout> (at::Layout) 
Skipping norm Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping norm Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping norm Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping norm Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping norm Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping norm Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping norm Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping clone Because of Arg: c10::optional<at::MemoryFormat> (at::MemoryFormat) 
Skipping _sparse_mm_reduce_impl Because of Arg: c10::string_view (c10::string_view) 
Skipping _sparse_mm_reduce_impl_backward Because of Arg: c10::string_view (c10::string_view) 
Skipping _scaled_mm Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _scaled_mm Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _scaled_mm Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _scaled_mm Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _scaled_mm Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping sparse_compressed_tensor because it is a factory method
Skipping sparse_csr_tensor because it is a factory method
Skipping sparse_csc_tensor because it is a factory method
Skipping sparse_bsr_tensor because it is a factory method
Skipping sparse_bsc_tensor because it is a factory method
Skipping _sparse_compressed_tensor_unsafe because it is a factory method
Skipping _sparse_csr_tensor_unsafe because it is a factory method
Skipping _sparse_csc_tensor_unsafe because it is a factory method
Skipping _sparse_bsr_tensor_unsafe because it is a factory method
Skipping _sparse_bsc_tensor_unsafe because it is a factory method
Skipping sparse_coo_tensor because it is a factory method
Skipping _sparse_coo_tensor_unsafe because it is a factory method
Skipping _sparse_coo_tensor_with_dims because it is a factory method
Skipping _sparse_coo_tensor_with_dims_and_tensors because it is a factory method
Skipping to_dense Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping to_dense Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _to_dense Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _to_dense Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping to_dense_backward Because of Arg: c10::optional<bool> (bool) 
Skipping unbind Because of Arg: at::Dimname (at::Dimname) 
Skipping to_sparse Because of Arg: c10::optional<at::Layout> (at::Layout) 
Skipping to_sparse Because of Arg: c10::optional<at::Layout> (at::Layout) 
Skipping to_sparse Because of Arg: c10::optional<at::Layout> (at::Layout) 
Skipping _to_sparse Because of Arg: c10::optional<at::Layout> (at::Layout) 
Skipping _to_sparse Because of Arg: c10::optional<at::Layout> (at::Layout) 
Skipping _to_sparse Because of Arg: c10::optional<at::Layout> (at::Layout) 
Skipping to_sparse_csr Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping _to_sparse_csr Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping to_sparse_csc Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping _to_sparse_csc Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping to_sparse_bsr Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping _to_sparse_bsr Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping to_sparse_bsc Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping _to_sparse_bsc Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping to_mkldnn Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping mkldnn_reorder_conv2d_weight Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping quantize_per_tensor_dynamic Because of Arg: at::ScalarType (at::ScalarType) 
Skipping quantize_per_tensor Because of Arg: at::ScalarType (at::ScalarType) 
Skipping quantize_per_tensor Because of Arg: at::ScalarType (at::ScalarType) 
Skipping quantize_per_tensor Because of Arg: at::ScalarType (at::ScalarType) 
Skipping quantize_per_channel Because of Arg: at::ScalarType (at::ScalarType) 
Skipping q_scale Because of Ret: double (double)
Skipping qscheme Because of Ret: at::QScheme (at::QScheme)
Skipping _choose_qparams_per_tensor Because of Ret: double (double)
Skipping _choose_qparams_per_tensor Because of Ret: double (double)
Skipping _autocast_to_reduced_precision Because of Arg: at::ScalarType (at::ScalarType) 
Skipping _to_copy because it is a factory method
Skipping to because it is a factory method
Skipping meshgrid Because of Arg: c10::string_view (c10::string_view) 
Skipping result_type Because of Ret: at::ScalarType (at::ScalarType)
Skipping result_type Because of Ret: at::ScalarType (at::ScalarType)
Skipping result_type Because of Ret: at::ScalarType (at::ScalarType)
Skipping result_type Because of Ret: at::ScalarType (at::ScalarType)
Skipping can_cast Because of Arg: at::ScalarType (at::ScalarType) 
Skipping promote_types Because of Ret: at::ScalarType (at::ScalarType)
Skipping _masked_softmax Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping _masked_softmax Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping _masked_softmax_backward Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping view Because of Arg: at::ScalarType (at::ScalarType) 
Skipping index_add Because of Arg: at::Dimname (at::Dimname) 
Skipping index_add Because of Arg: at::Dimname (at::Dimname) 
Skipping index_reduce Because of Arg: c10::string_view (c10::string_view) 
Skipping index_reduce Because of Arg: c10::string_view (c10::string_view) 
Skipping index_fill Because of Arg: at::Dimname (at::Dimname) 
Skipping index_fill Because of Arg: at::Dimname (at::Dimname) 
Skipping scatter Because of Arg: c10::string_view (c10::string_view) 
Skipping scatter Because of Arg: c10::string_view (c10::string_view) 
Skipping scatter Because of Arg: at::Dimname (at::Dimname) 
Skipping scatter Because of Arg: at::Dimname (at::Dimname) 
Skipping scatter_add Because of Arg: at::Dimname (at::Dimname) 
Skipping scatter_reduce Because of Arg: c10::string_view (c10::string_view) 
Skipping scatter_reduce Because of Arg: c10::string_view (c10::string_view) 
Skipping cross Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping tril_indices because it is a factory method
Skipping triu_indices because it is a factory method
Skipping take_along_dim Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping index_select Because of Arg: at::Dimname (at::Dimname) 
Skipping gather Because of Arg: at::Dimname (at::Dimname) 
Skipping gather Because of Arg: at::Dimname (at::Dimname) 
Skipping linalg_vander Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping multinomial Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping histogram Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping histogram Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping histogram Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping _histogramdd_bin_edges Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping _histogramdd_bin_edges Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping _histogramdd_bin_edges Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping _histogramdd_from_bin_cts Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping _histogramdd_from_bin_cts Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping _histogramdd_from_bin_cts Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping histogramdd Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping histogramdd Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping histogramdd Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping histogramdd Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping histogramdd Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping histogramdd Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping histogramdd Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping histogramdd Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping histogramdd Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping quantile Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping quantile Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping quantile Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping quantile Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping quantile Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping quantile Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping nanquantile Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping nanquantile Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping nanquantile Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping nanquantile Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping nanquantile Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping nanquantile Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping sort Because of Arg: c10::optional<bool> (bool) 
Skipping sort Because of Arg: c10::optional<bool> (bool) 
Skipping sort Because of Arg: c10::optional<bool> (bool) 
Skipping sort Because of Arg: at::Dimname (at::Dimname) 
Skipping sort Because of Arg: at::Dimname (at::Dimname) 
Skipping sort Because of Arg: c10::optional<bool> (bool) 
Skipping sort Because of Arg: c10::optional<bool> (bool) 
Skipping argsort Because of Arg: at::Dimname (at::Dimname) 
Skipping argsort Because of Arg: at::Dimname (at::Dimname) 
Skipping normal_functional Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping normal because it is a factory method
Skipping _foreach_add Because of Arg: at::ArrayRef<at::Scalar> (at::ArrayRef<at::Scalar>) 
Skipping _foreach_sub Because of Arg: at::ArrayRef<at::Scalar> (at::ArrayRef<at::Scalar>) 
Skipping _foreach_mul Because of Arg: at::ArrayRef<at::Scalar> (at::ArrayRef<at::Scalar>) 
Skipping _foreach_div Because of Arg: at::ArrayRef<at::Scalar> (at::ArrayRef<at::Scalar>) 
Skipping _foreach_clamp_max Because of Arg: at::ArrayRef<at::Scalar> (at::ArrayRef<at::Scalar>) 
Skipping _foreach_clamp_min Because of Arg: at::ArrayRef<at::Scalar> (at::ArrayRef<at::Scalar>) 
Skipping _foreach_maximum Because of Arg: at::ArrayRef<at::Scalar> (at::ArrayRef<at::Scalar>) 
Skipping _foreach_minimum Because of Arg: at::ArrayRef<at::Scalar> (at::ArrayRef<at::Scalar>) 
Skipping _foreach_addcdiv Because of Arg: at::ArrayRef<at::Scalar> (at::ArrayRef<at::Scalar>) 
Skipping _foreach_addcmul Because of Arg: at::ArrayRef<at::Scalar> (at::ArrayRef<at::Scalar>) 
Skipping _foreach_pow Because of Arg: at::ArrayRef<at::Scalar> (at::ArrayRef<at::Scalar>) 
Skipping searchsorted Because of Arg: c10::optional<c10::string_view> (c10::string_view) 
Skipping searchsorted Because of Arg: c10::optional<c10::string_view> (c10::string_view) 
Skipping searchsorted Because of Arg: c10::optional<c10::string_view> (c10::string_view) 
Skipping searchsorted Because of Arg: c10::optional<c10::string_view> (c10::string_view) 
Skipping rrelu_with_noise Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping avg_pool2d Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping avg_pool2d_backward Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping avg_pool3d Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping avg_pool3d_backward Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping _pad_enum Because of Arg: c10::optional<double> (double) 
Skipping pad Because of Arg: c10::string_view (c10::string_view) 
Skipping pad Because of Arg: c10::string_view (c10::string_view) 
Skipping upsample_linear1d Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping upsample_bilinear2d Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping _upsample_bilinear2d_aa Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping upsample_trilinear3d Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping upsample_bicubic2d Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping _upsample_bicubic2d_aa Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping upsample_nearest1d Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping _upsample_nearest_exact1d Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping upsample_nearest2d Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping _upsample_nearest_exact2d Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping upsample_nearest3d Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping _upsample_nearest_exact3d Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping upsample_linear1d Because of Arg: c10::optional<double> (double) 
Skipping upsample_linear1d_backward Because of Arg: c10::optional<double> (double) 
Skipping upsample_bilinear2d Because of Arg: c10::optional<double> (double) 
Skipping upsample_bilinear2d Because of Arg: c10::optional<double> (double) 
Skipping upsample_bilinear2d_backward Because of Arg: c10::optional<double> (double) 
Skipping upsample_bilinear2d_backward Because of Arg: c10::optional<double> (double) 
Skipping _upsample_bilinear2d_aa Because of Arg: c10::optional<double> (double) 
Skipping _upsample_bilinear2d_aa Because of Arg: c10::optional<double> (double) 
Skipping _upsample_bilinear2d_aa_backward Because of Arg: c10::optional<double> (double) 
Skipping _upsample_bilinear2d_aa_backward Because of Arg: c10::optional<double> (double) 
Skipping upsample_bicubic2d Because of Arg: c10::optional<double> (double) 
Skipping upsample_bicubic2d Because of Arg: c10::optional<double> (double) 
Skipping upsample_bicubic2d_backward Because of Arg: c10::optional<double> (double) 
Skipping upsample_bicubic2d_backward Because of Arg: c10::optional<double> (double) 
Skipping _upsample_bicubic2d_aa Because of Arg: c10::optional<double> (double) 
Skipping _upsample_bicubic2d_aa Because of Arg: c10::optional<double> (double) 
Skipping _upsample_bicubic2d_aa_backward Because of Arg: c10::optional<double> (double) 
Skipping _upsample_bicubic2d_aa_backward Because of Arg: c10::optional<double> (double) 
Skipping upsample_trilinear3d Because of Arg: c10::optional<double> (double) 
Skipping upsample_trilinear3d Because of Arg: c10::optional<double> (double) 
Skipping upsample_trilinear3d Because of Arg: c10::optional<double> (double) 
Skipping upsample_trilinear3d_backward Because of Arg: c10::optional<double> (double) 
Skipping upsample_trilinear3d_backward Because of Arg: c10::optional<double> (double) 
Skipping upsample_trilinear3d_backward Because of Arg: c10::optional<double> (double) 
Skipping upsample_nearest1d Because of Arg: c10::optional<double> (double) 
Skipping _upsample_nearest_exact1d Because of Arg: c10::optional<double> (double) 
Skipping upsample_nearest1d_backward Because of Arg: c10::optional<double> (double) 
Skipping _upsample_nearest_exact1d_backward Because of Arg: c10::optional<double> (double) 
Skipping upsample_nearest2d Because of Arg: c10::optional<double> (double) 
Skipping upsample_nearest2d Because of Arg: c10::optional<double> (double) 
Skipping _upsample_nearest_exact2d Because of Arg: c10::optional<double> (double) 
Skipping _upsample_nearest_exact2d Because of Arg: c10::optional<double> (double) 
Skipping upsample_nearest2d_backward Because of Arg: c10::optional<double> (double) 
Skipping upsample_nearest2d_backward Because of Arg: c10::optional<double> (double) 
Skipping _upsample_nearest_exact2d_backward Because of Arg: c10::optional<double> (double) 
Skipping _upsample_nearest_exact2d_backward Because of Arg: c10::optional<double> (double) 
Skipping upsample_nearest3d Because of Arg: c10::optional<double> (double) 
Skipping upsample_nearest3d Because of Arg: c10::optional<double> (double) 
Skipping upsample_nearest3d Because of Arg: c10::optional<double> (double) 
Skipping _upsample_nearest_exact3d Because of Arg: c10::optional<double> (double) 
Skipping _upsample_nearest_exact3d Because of Arg: c10::optional<double> (double) 
Skipping _upsample_nearest_exact3d Because of Arg: c10::optional<double> (double) 
Skipping upsample_nearest3d_backward Because of Arg: c10::optional<double> (double) 
Skipping upsample_nearest3d_backward Because of Arg: c10::optional<double> (double) 
Skipping upsample_nearest3d_backward Because of Arg: c10::optional<double> (double) 
Skipping _upsample_nearest_exact3d_backward Because of Arg: c10::optional<double> (double) 
Skipping _upsample_nearest_exact3d_backward Because of Arg: c10::optional<double> (double) 
Skipping _upsample_nearest_exact3d_backward Because of Arg: c10::optional<double> (double) 
Skipping logit_backward Because of Arg: c10::optional<double> (double) 
Skipping special_logit Because of Arg: c10::optional<double> (double) 
Skipping special_log_softmax Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping special_softmax Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping fft_fft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_fft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_fft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_ifft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_ifft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_ifft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_rfft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_rfft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_rfft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_irfft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_irfft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_irfft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_hfft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_hfft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_hfft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_ihfft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_ihfft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_ihfft Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping fft_fft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_fft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_fft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_ifft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_ifft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_ifft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_rfft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_rfft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_rfft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_irfft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_irfft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_irfft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_hfft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_hfft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_hfft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_ihfft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_ihfft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_ihfft2 Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_fftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_fftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_fftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_ifftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_ifftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_ifftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_rfftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_rfftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_rfftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_irfftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_irfftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_irfftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_hfftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_hfftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_hfftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_ihfftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_ihfftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_ihfftn Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_fftfreq because it is a factory method
Skipping fft_rfftfreq because it is a factory method
Skipping fft_fftshift Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping fft_ifftshift Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping linalg_lstsq Because of Arg: c10::optional<double> (double) 
Skipping linalg_lstsq Because of Arg: c10::optional<double> (double) 
Skipping _linalg_eigh Because of Arg: c10::string_view (c10::string_view) 
Skipping _linalg_eigh Because of Arg: c10::string_view (c10::string_view) 
Skipping linalg_eigh Because of Arg: c10::string_view (c10::string_view) 
Skipping linalg_eigvalsh Because of Arg: c10::string_view (c10::string_view) 
Skipping linalg_norm Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping linalg_norm Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping linalg_norm Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping linalg_norm Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping linalg_norm Because of Arg: c10::string_view (c10::string_view) 
Skipping linalg_norm Because of Arg: c10::string_view (c10::string_view) 
Skipping linalg_norm Because of Arg: c10::string_view (c10::string_view) 
Skipping linalg_norm Because of Arg: c10::string_view (c10::string_view) 
Skipping linalg_vector_norm Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping linalg_vector_norm Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping linalg_vector_norm Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping linalg_matrix_norm Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping linalg_matrix_norm Because of Arg: c10::string_view (c10::string_view) 
Skipping linalg_matrix_norm Because of Arg: c10::string_view (c10::string_view) 
Skipping linalg_matrix_norm Because of Arg: c10::string_view (c10::string_view) 
Skipping linalg_matrix_norm Because of Arg: c10::string_view (c10::string_view) 
Skipping _linalg_svd Because of Arg: c10::optional<c10::string_view> (c10::string_view) 
Skipping linalg_svd Because of Arg: c10::optional<c10::string_view> (c10::string_view) 
Skipping linalg_svdvals Because of Arg: c10::optional<c10::string_view> (c10::string_view) 
Skipping linalg_cond Because of Arg: const c10::optional<at::Scalar> & (const at::Scalar &) 
Skipping linalg_cond Because of Arg: c10::string_view (c10::string_view) 
Skipping linalg_pinv Because of Arg: c10::optional<double> (double) 
Skipping linalg_pinv Because of Arg: c10::optional<double> (double) 
Skipping linalg_pinv Because of Arg: c10::optional<double> (double) 
Skipping linalg_tensorsolve Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping linalg_qr Because of Arg: c10::string_view (c10::string_view) 
Skipping linalg_matrix_rank Because of Arg: c10::optional<double> (double) 
Skipping linalg_matrix_rank Because of Arg: c10::optional<double> (double) 
Skipping linalg_matrix_rank Because of Arg: c10::optional<double> (double) 
Skipping nested_to_padded_tensor Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping _test_optional_intlist Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping _test_optional_filled_intlist Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping _test_optional_floatlist Because of Arg: c10::optional<at::ArrayRef<double>> (at::ArrayRef<double>) 
Skipping _test_string_default Because of Arg: c10::string_view (c10::string_view) 
Skipping _test_string_default Because of Arg: c10::string_view (c10::string_view) 
Skipping _test_ambiguous_defaults Because of Arg: c10::string_view (c10::string_view) 
Skipping segment_reduce Because of Arg: c10::string_view (c10::string_view) 
Skipping segment_reduce Because of Arg: c10::string_view (c10::string_view) 
Skipping segment_reduce Because of Arg: c10::string_view (c10::string_view) 
Skipping segment_reduce Because of Arg: c10::string_view (c10::string_view) 
Skipping segment_reduce Because of Arg: c10::string_view (c10::string_view) 
Skipping segment_reduce Because of Arg: c10::string_view (c10::string_view) 
Skipping segment_reduce Because of Arg: c10::string_view (c10::string_view) 
Skipping _segment_reduce_backward Because of Arg: c10::string_view (c10::string_view) 
Skipping _segment_reduce_backward Because of Arg: c10::string_view (c10::string_view) 
Skipping _segment_reduce_backward Because of Arg: c10::string_view (c10::string_view) 
Skipping _segment_reduce_backward Because of Arg: c10::string_view (c10::string_view) 
Skipping _segment_reduce_backward Because of Arg: c10::string_view (c10::string_view) 
Skipping _nested_tensor_from_tensor_list Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _nested_tensor_from_tensor_list Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _nested_tensor_from_tensor_list Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping _nested_tensor_from_tensor_list Because of Arg: c10::optional<at::ScalarType> (at::ScalarType) 
Skipping as_strided_copy Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping slice_copy Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping slice_copy Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping slice_copy Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping view_copy Because of Arg: at::ScalarType (at::ScalarType) 
Skipping to_padded_tensor Because of Arg: at::OptionalIntArrayRef (at::IntArrayRef) 
Skipping _transformer_encoder_layer_fwd Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping _native_multi_head_attention Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping scaled_dot_product_attention Because of Arg: c10::optional<double> (double) 
Skipping _fused_sdp_choice Because of Arg: c10::optional<double> (double) 
Skipping _scaled_dot_product_attention_math Because of Arg: c10::optional<double> (double) 
Skipping _scaled_dot_product_flash_attention Because of Ret: c10::SymInt (int64_t)
Skipping _scaled_dot_product_flash_attention Because of Ret: c10::SymInt (int64_t)
Skipping _scaled_dot_product_flash_attention Because of Ret: c10::SymInt (int64_t)
Skipping _scaled_dot_product_flash_attention Because of Ret: c10::SymInt (int64_t)
Skipping _scaled_dot_product_flash_attention Because of Ret: c10::SymInt (int64_t)
Skipping _scaled_dot_product_flash_attention_for_cpu Because of Arg: c10::optional<double> (double) 
Skipping _scaled_dot_product_flash_attention_backward Because of Arg: c10::optional<double> (double) 
Skipping _scaled_dot_product_flash_attention_for_cpu_backward Because of Arg: c10::optional<double> (double) 
Skipping _scaled_dot_product_efficient_attention Because of Arg: c10::optional<double> (double) 
Skipping _scaled_dot_product_efficient_attention_backward Because of Arg: ::std::array<bool,4> (::std::array<bool,4>) 
Skipping _scaled_dot_product_efficient_attention_backward Because of Arg: ::std::array<bool,4> (::std::array<bool,4>) 
Skipping _scaled_dot_product_efficient_attention_backward Because of Arg: ::std::array<bool,4> (::std::array<bool,4>) 
Skipping _scaled_dot_product_cudnn_attention Because of Arg: c10::optional<double> (double) 
Skipping _flash_attention_forward Because of Arg: c10::optional<double> (double) 
Skipping _flash_attention_backward Because of Arg: c10::optional<double> (double) 
Skipping _efficient_attention_forward Because of Ret: c10::SymInt (int64_t)
Skipping _efficient_attention_forward Because of Ret: c10::SymInt (int64_t)
Skipping _efficient_attention_forward Because of Ret: c10::SymInt (int64_t)
Skipping _efficient_attention_forward Because of Ret: c10::SymInt (int64_t)
Skipping _efficient_attention_forward Because of Ret: c10::SymInt (int64_t)
Skipping _efficient_attention_backward Because of Arg: c10::optional<double> (double) 
Skipping _efficient_attention_backward Because of Arg: c10::optional<double> (double) 
Skipping bernoulli Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping resize Because of Arg: c10::optional<at::MemoryFormat> (at::MemoryFormat) 
Skipping resize_as Because of Arg: c10::optional<at::MemoryFormat> (at::MemoryFormat) 
Skipping set Because of Arg: at::Storage (at::Storage) 
Skipping set Because of Arg: at::Storage (at::Storage) 
Skipping set Because of Arg: at::Storage (at::Storage) 
Skipping random Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping random Because of Arg: c10::optional<int64_t> (int64_t) 
Skipping random Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping random Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping uniform Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping cauchy Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping log_normal Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping exponential Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
Skipping geometric Because of Arg: const ::std::optional<at::Generator> & (at::Generator) 
[87/2465] Generating /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/Functions.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/ViewFuncs.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType_0.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType_1.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType_2.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType_3.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType_4.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/TraceType_0.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/TraceType_1.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/TraceType_2.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/TraceType_3.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/TraceType_4.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/ADInplaceOrViewType_0.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/ADInplaceOrViewType_1.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/inductor/aoti_torch/generated/c_shim_cpu.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/generated/LazyNativeFunctions.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/generated/RegisterAutogradLazy.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/generated/RegisterLazy.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/Functions.h, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/variable_factories.h, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/ViewFuncs.h, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType.h, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/generated/LazyIr.h, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/generated/LazyNonNativeIr.h, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/generated/LazyNativeFunctions.h, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_functions_0.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_functions_1.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_functions_2.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_functions_3.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_functions_4.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_variable_methods.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_torch_functions_0.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_torch_functions_1.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_torch_functions_2.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_nn_functions.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_fft_functions.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_linalg_functions.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_nested_functions.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_sparse_functions.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_special_functions.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_return_types.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_enum_tag.cpp, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_functions.h, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_return_types.h, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/testing/_internal/generated/annotated_fn_args.py, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/inductor/aoti_torch/generated/c_shim_cuda.cpp
[88/2465] Generating __init__.py
[89/2465] Generating contrib/__init__.py
[90/2465] Generating contrib/aten/__init__.py
[91/2465] Generating contrib/aten/aten_test.py
[92/2465] Generating contrib/aten/docs/__init__.py
[93/2465] Generating contrib/aten/docs/sample.py
[94/2465] Generating contrib/aten/gen_op.py
[95/2465] Generating contrib/fakelowp/test/test_batchmatmul_nnpi_fp16.py
[96/2465] Generating contrib/fakelowp/test/test_batchnorm_nnpi_fp16.py
[97/2465] Generating contrib/fakelowp/test/test_chunking.py
[98/2465] Generating contrib/fakelowp/test/test_deq_swish_quant_nnpi.py
[99/2465] Generating contrib/fakelowp/test/test_fc_nnpi_fp16.py
[100/2465] Generating contrib/fakelowp/test/test_fusions.py
[101/2465] Generating contrib/fakelowp/test/test_int8_ops_nnpi.py
[102/2465] Generating contrib/fakelowp/test/test_int8_quant.py
[103/2465] Generating contrib/fakelowp/test/test_layernorm_nnpi_fp16.py
[104/2465] Generating contrib/fakelowp/test/test_op_nnpi_fp16.py
[105/2465] Generating contrib/fakelowp/test/test_sls_4bit_nnpi_fp16.py
[106/2465] Generating contrib/fakelowp/test/test_sls_8bit_nnpi_fp16.py
[107/2465] Generating contrib/fakelowp/test/test_sls_8bit_nnpi_fp32.py
[108/2465] Generating contrib/gloo/__init__.py
[109/2465] Generating contrib/gloo/gloo_test.py
[110/2465] Generating contrib/nccl/__init__.py
[111/2465] Generating contrib/nccl/nccl_ops_test.py
[112/2465] Generating contrib/nnpack/__init__.py
[113/2465] Generating contrib/nnpack/nnpack_ops_test.py
[114/2465] Generating contrib/playground/AnyExp.py
[115/2465] Generating contrib/playground/AnyExpOnTerm.py
[116/2465] Generating contrib/playground/ModuleRegister.py
[117/2465] Generating contrib/playground/__init__.py
[118/2465] Generating contrib/playground/checkpoint.py
[119/2465] Generating contrib/playground/compute_loss.py
[120/2465] Generating contrib/playground/compute_topk_accuracy.py
[121/2465] Generating contrib/playground/meter.py
[122/2465] Generating contrib/playground/module_map.py
[123/2465] Generating contrib/playground/output_generator.py
[124/2465] Generating contrib/playground/resnetdemo/IN1k_resnet.py
[125/2465] Generating contrib/playground/resnetdemo/IN1k_resnet_no_test_model.py
[126/2465] Generating contrib/playground/resnetdemo/__init__.py
[127/2465] Generating contrib/playground/resnetdemo/caffe2_resnet50_default_forward.py
[128/2465] Generating contrib/playground/resnetdemo/caffe2_resnet50_default_param_update.py
[129/2465] Generating contrib/playground/resnetdemo/explicit_resnet_forward.py
[130/2465] Generating contrib/playground/resnetdemo/explicit_resnet_param_update.py
[131/2465] Generating contrib/playground/resnetdemo/gfs_IN1k.py
[132/2465] Generating contrib/playground/resnetdemo/override_no_test_model_no_checkpoint.py
[133/2465] Generating contrib/playground/resnetdemo/rendezvous_filestore.py
[134/2465] Generating contrib/prof/__init__.py
[135/2465] Generating contrib/prof/cuda_profile_ops_test.py
[136/2465] Generating contrib/script/__init__.py
[137/2465] Generating contrib/script/examples/__init__.py
[138/2465] Generating contrib/tensorboard/__init__.py
[139/2465] Generating contrib/tensorboard/tensorboard.py
[140/2465] Generating contrib/tensorboard/tensorboard_exporter.py
[141/2465] Generating contrib/tensorboard/tensorboard_exporter_test.py
[142/2465] Generating contrib/tensorboard/tensorboard_test.py
[143/2465] Generating contrib/warpctc/__init__.py
[144/2465] Generating contrib/warpctc/ctc_ops_test.py
[145/2465] Generating core/__init__.py
[146/2465] Generating core/nomnigraph/__init__.py
[147/2465] Generating core/nomnigraph/op_gen.py
[148/2465] Generating distributed/__init__.py
[149/2465] Generating distributed/file_store_handler_op_test.py
[150/2465] Generating distributed/redis_store_handler_op_test.py
[151/2465] Generating distributed/store_ops_test_util.py
[152/2465] Generating experiments/__init__.py
[153/2465] Generating experiments/python/SparseTransformer.py
[154/2465] Generating experiments/python/__init__.py
[155/2465] Generating experiments/python/convnet_benchmarks.py
[156/2465] Generating experiments/python/device_reduce_sum_bench.py
[157/2465] Generating experiments/python/funhash_op_test.py
[158/2465] Generating experiments/python/net_construct_bench.py
[159/2465] Generating experiments/python/sparse_funhash_op_test.py
[160/2465] Generating experiments/python/sparse_reshape_op_test.py
[161/2465] Generating experiments/python/tt_contraction_op_test.py
[162/2465] Generating experiments/python/tt_pad_op_test.py
[163/2465] Generating perfkernels/__init__.py
[164/2465] Generating perfkernels/hp_emblookup_codegen.py
[165/2465] Generating proto/__init__.py
[166/2465] Generating proto/gen_proto_typestubs_helper.py
[167/2465] Generating python/__init__.py
[168/2465] Generating python/_import_c_extension.py
[169/2465] Generating python/allcompare_test.py
[170/2465] Generating python/attention.py
[171/2465] Generating python/benchmark_generator.py
[172/2465] Generating python/benchmarks/concat_benchmark.py
[173/2465] Generating python/benchmarks/fused_rowwise_nbit_conversion_bench.py
[174/2465] Generating python/benchmarks/sparse_lengths_sum_nbit_benchmark.py
[175/2465] Generating python/benchmarks/sparse_normalize_benchmark.py
[176/2465] Generating python/binarysize.py
[177/2465] Generating python/brew.py
[178/2465] Generating python/brew_test.py
[179/2465] Generating python/build.py
[180/2465] Generating python/cached_reader.py
[181/2465] Generating python/caffe_translator.py
[182/2465] Generating python/caffe_translator_test.py
[183/2465] Generating python/checkpoint.py
[184/2465] Generating python/checkpoint_test.py
[185/2465] Generating python/clean_workspace_test.py
[186/2465] Generating python/cnn.py
[187/2465] Generating python/context.py
[188/2465] Generating python/context_test.py
[189/2465] Generating python/control.py
[190/2465] Generating python/control_ops_grad.py
[191/2465] Generating python/control_ops_grad_test.py
[192/2465] Generating python/control_ops_util.py
[193/2465] Generating python/control_test.py
[194/2465] Generating python/convert.py
[195/2465] Generating python/convert_test.py
[196/2465] Generating python/convnet_benchmarks.py
[197/2465] Generating python/convnet_benchmarks_test.py
[198/2465] Generating python/core.py
[199/2465] Generating python/core_gradients_test.py
[200/2465] Generating python/core_test.py
[201/2465] Generating python/crf.py
[202/2465] Generating python/crf_predict.py
[203/2465] Generating python/crf_viterbi_test.py
[204/2465] Generating python/data_parallel_model.py
[205/2465] Generating python/data_parallel_model_test.py
[206/2465] Generating python/data_workers.py
[207/2465] Generating python/data_workers_test.py
[208/2465] Generating python/dataio.py
[209/2465] Generating python/dataio_test.py
[210/2465] Generating python/dataset.py
[211/2465] Generating python/db_file_reader.py
[212/2465] Generating python/db_test.py
[213/2465] Generating python/device_checker.py
[214/2465] Generating python/docs/__init__.py
[215/2465] Generating python/docs/formatter.py
[216/2465] Generating python/docs/generator.py
[217/2465] Generating python/docs/github.py
[218/2465] Generating python/docs/parser.py
[219/2465] Generating python/dyndep.py
[220/2465] Generating python/embedding_generation_benchmark.py
[221/2465] Generating python/examples/__init__.py
[222/2465] Generating python/examples/char_rnn.py
[223/2465] Generating python/examples/imagenet_trainer.py
[224/2465] Generating python/examples/lmdb_create_example.py
[225/2465] Generating python/examples/resnet50_trainer.py
[226/2465] Generating python/experiment_util.py
[227/2465] Generating python/extension_loader.py
[228/2465] Generating python/fakefp16_transform_lib.py
[229/2465] Generating python/fakelowp/__init__.py
[230/2465] Generating python/fakelowp/init_shared_libs.py
[231/2465] Generating python/fakelowp/test_utils.py
[232/2465] Generating python/filler_test.py
[233/2465] Generating python/functional.py
[234/2465] Generating python/functional_test.py
[235/2465] Generating python/fused_8bit_rowwise_conversion_ops_test.py
[236/2465] Generating python/gradient_check_test.py
[237/2465] Generating python/gradient_checker.py
[238/2465] Generating python/gru_cell.py
[239/2465] Generating python/helpers/__init__.py
[240/2465] Generating python/helpers/algebra.py
[241/2465] Generating python/helpers/arg_scope.py
[242/2465] Generating python/helpers/array_helpers.py
[243/2465] Generating python/helpers/control_ops.py
[244/2465] Generating python/helpers/conv.py
[245/2465] Generating python/helpers/db_input.py
[246/2465] Generating python/helpers/dropout.py
[247/2465] Generating python/helpers/elementwise_linear.py
[248/2465] Generating python/helpers/fc.py
[249/2465] Generating python/helpers/nonlinearity.py
[250/2465] Generating python/helpers/normalization.py
[251/2465] Generating python/helpers/pooling.py
[252/2465] Generating python/helpers/quantization.py
[253/2465] Generating python/helpers/tools.py
[254/2465] Generating python/helpers/train.py
[255/2465] Generating python/hip_test_util.py
[256/2465] Generating python/hsm_util.py
[257/2465] Generating python/hypothesis_test.py
[258/2465] Generating python/hypothesis_test_util.py
[259/2465] Generating python/ideep/LRN_op_test.py
[260/2465] Generating python/ideep/__init__.py
[261/2465] Generating python/ideep/adam_op_test.py
[262/2465] Generating python/ideep/blobs_queue_db_test.py
[263/2465] Generating python/ideep/channel_shuffle_op_test.py
[264/2465] Generating python/ideep/concat_split_op_test.py
[265/2465] Generating python/ideep/conv_op_test.py
[266/2465] Generating python/ideep/conv_transpose_test.py
[267/2465] Generating python/ideep/convfusion_op_test.py
[268/2465] Generating python/ideep/copy_op_test.py
[269/2465] Generating python/ideep/dropout_op_test.py
[270/2465] Generating python/ideep/elementwise_sum_op_test.py
[271/2465] Generating python/ideep/expanddims_squeeze_op_test.py
[272/2465] Generating python/ideep/fc_op_test.py
[273/2465] Generating python/ideep/leaky_relu_op_test.py
[274/2465] Generating python/ideep/moment_sgd_op_test.py
[275/2465] Generating python/ideep/operator_fallback_op_test.py
[276/2465] Generating python/ideep/order_switch_op_test.py
[277/2465] Generating python/ideep/pool_op_test.py
[278/2465] Generating python/ideep/pre_convert_test.py
[279/2465] Generating python/ideep/relu_op_test.py
[280/2465] Generating python/ideep/reshape_op_test.py
[281/2465] Generating python/ideep/shape_op_test.py
[282/2465] Generating python/ideep/sigmoid_op_test.py
[283/2465] Generating python/ideep/softmax_op_test.py
[284/2465] Generating python/ideep/spatial_bn_op_test.py
[285/2465] Generating python/ideep/test_ideep_net.py
[286/2465] Generating python/ideep/transform_ideep_net.py
[287/2465] Generating python/ideep/transpose_op_test.py
[288/2465] Generating python/ideep/weightedsum_op_test.py
[289/2465] Generating python/ideep_test_util.py
[290/2465] Generating python/layer_model_helper.py
[291/2465] Generating python/layer_model_instantiator.py
[292/2465] Generating python/layer_parameter_sharing_test.py
[293/2465] Generating python/layer_test_util.py
[294/2465] Generating python/layers/__init__.py
[295/2465] Generating python/layers/adaptive_weight.py
[296/2465] Generating python/layers/add_bias.py
[297/2465] Generating python/layers/arc_cosine_feature_map.py
[298/2465] Generating python/layers/batch_huber_loss.py
[299/2465] Generating python/layers/batch_lr_loss.py
[300/2465] Generating python/layers/batch_mse_loss.py
[301/2465] Generating python/layers/batch_normalization.py
[302/2465] Generating python/layers/batch_sigmoid_cross_entropy_loss.py
[303/2465] Generating python/layers/batch_softmax_loss.py
[304/2465] Generating python/layers/blob_weighted_sum.py
[305/2465] Generating python/layers/bpr_loss.py
[306/2465] Generating python/layers/bucket_weighted.py
[307/2465] Generating python/layers/build_index.py
[308/2465] Generating python/layers/concat.py
[309/2465] Generating python/layers/constant_weight.py
[310/2465] Generating python/layers/conv.py
[311/2465] Generating python/layers/dropout.py
[312/2465] Generating python/layers/fc.py
[313/2465] Generating python/layers/fc_with_bootstrap.py
[314/2465] Generating python/layers/fc_without_bias.py
[315/2465] Generating python/layers/feature_sparse_to_dense.py
[316/2465] Generating python/layers/functional.py
[317/2465] Generating python/layers/gather_record.py
[318/2465] Generating python/layers/homotopy_weight.py
[319/2465] Generating python/layers/label_smooth.py
[320/2465] Generating python/layers/last_n_window_collector.py
[321/2465] Generating python/layers/layer_normalization.py
[322/2465] Generating python/layers/layers.py
[323/2465] Generating python/layers/margin_rank_loss.py
[324/2465] Generating python/layers/merge_id_lists.py
[325/2465] Generating python/layers/pairwise_similarity.py
[326/2465] Generating python/layers/position_weighted.py
[327/2465] Generating python/layers/random_fourier_features.py
[328/2465] Generating python/layers/reservoir_sampling.py
[329/2465] Generating python/layers/sampling_train.py
[330/2465] Generating python/layers/sampling_trainable_mixin.py
[331/2465] Generating python/layers/select_record_by_context.py
[332/2465] Generating python/layers/semi_random_features.py
[333/2465] Generating python/layers/sparse_dropout_with_replacement.py
[334/2465] Generating python/layers/sparse_feature_hash.py
[335/2465] Generating python/layers/sparse_itemwise_dropout_with_replacement.py
[336/2465] Generating python/layers/sparse_lookup.py
[337/2465] Generating python/layers/split.py
[338/2465] Generating python/layers/tags.py
[339/2465] Generating python/layers/uniform_sampling.py
[340/2465] Generating python/layers_test.py
[341/2465] Generating python/lazy.py
[342/2465] Generating python/lazy_dyndep.py
[343/2465] Generating python/lazy_dyndep_test.py
[344/2465] Generating python/lengths_reducer_fused_8bit_rowwise_ops_test.py
[345/2465] Generating python/lengths_reducer_rowwise_8bit_ops_test.py
[346/2465] Generating python/lstm_benchmark.py
[347/2465] Generating python/memonger.py
[348/2465] Generating python/memonger_test.py
[349/2465] Generating python/mint/__init__.py
[350/2465] Generating python/mint/app.py
[351/2465] Generating python/mkl/__init__.py
[352/2465] Generating python/mkl/mkl_LRN_op_test.py
[353/2465] Generating python/mkl/mkl_LRN_speed_test.py
[354/2465] Generating python/mkl/mkl_concat_op_test.py
[355/2465] Generating python/mkl/mkl_conv_op_test.py
[356/2465] Generating python/mkl/mkl_copy_op_test.py
[357/2465] Generating python/mkl/mkl_elementwise_add_op_test.py
[358/2465] Generating python/mkl/mkl_elementwise_sum_op_test.py
[359/2465] Generating python/mkl/mkl_fc_op_test.py
[360/2465] Generating python/mkl/mkl_fc_speed_test.py
[361/2465] Generating python/mkl/mkl_fill_op_test.py
[362/2465] Generating python/mkl/mkl_pool_op_test.py
[363/2465] Generating python/mkl/mkl_pool_speed_test.py
[364/2465] Generating python/mkl/mkl_relu_op_test.py
[365/2465] Generating python/mkl/mkl_sbn_op_test.py
[366/2465] Generating python/mkl/mkl_sbn_speed_test.py
[367/2465] Generating python/mkl/mkl_sigmoid_op_test.py
[368/2465] Generating python/mkl/mkl_speed_test.py
[369/2465] Generating python/mkl/mkl_squeeze_op_test.py
[370/2465] Generating python/mkl/rewrite_graph.py
[371/2465] Generating python/mkl/rewrite_graph_test.py
[372/2465] Generating python/mkl_test_util.py
[373/2465] Generating python/model_device_test.py
[374/2465] Generating python/model_helper.py
[375/2465] Generating python/model_helper_test.py
[376/2465] Generating python/modeling/__init__.py
[377/2465] Generating python/modeling/compute_histogram_for_blobs.py
[378/2465] Generating python/modeling/compute_histogram_for_blobs_test.py
[379/2465] Generating python/modeling/compute_norm_for_blobs.py
[380/2465] Generating python/modeling/compute_norm_for_blobs_test.py
[381/2465] Generating python/modeling/compute_statistics_for_blobs.py
[382/2465] Generating python/modeling/compute_statistics_for_blobs_test.py
[383/2465] Generating python/modeling/get_entry_from_blobs.py
[384/2465] Generating python/modeling/get_entry_from_blobs_test.py
[385/2465] Generating python/modeling/gradient_clipping.py
[386/2465] Generating python/modeling/gradient_clipping_test.py
[387/2465] Generating python/modeling/initializers.py
[388/2465] Generating python/modeling/initializers_test.py
[389/2465] Generating python/modeling/net_modifier.py
[390/2465] Generating python/modeling/parameter_info.py
[391/2465] Generating python/modeling/parameter_sharing.py
[392/2465] Generating python/modeling/parameter_sharing_test.py
[393/2465] Generating python/models/__init__.py
[394/2465] Generating python/models/__sym_init__.py
[395/2465] Generating python/models/download.py
[396/2465] Generating python/models/imagenet_trainer_test_utils.py
[397/2465] Generating python/models/resnet.py
[398/2465] Generating python/models/resnet_test.py
[399/2465] Generating python/models/seq2seq/__init__.py
[400/2465] Generating python/models/seq2seq/beam_search.py
[401/2465] Generating python/models/seq2seq/seq2seq_beam_search_test.py
[402/2465] Generating python/models/seq2seq/seq2seq_model_helper.py
[403/2465] Generating python/models/seq2seq/seq2seq_model_helper_test.py
[404/2465] Generating python/models/seq2seq/seq2seq_util.py
[405/2465] Generating python/models/seq2seq/train.py
[406/2465] Generating python/models/seq2seq/translate.py
[407/2465] Generating python/models/shufflenet.py
[408/2465] Generating python/models/shufflenet_test.py
[409/2465] Generating python/modifier_context.py
[410/2465] Generating python/muji.py
[411/2465] Generating python/muji_test.py
[412/2465] Generating python/net_builder.py
[413/2465] Generating python/net_builder_test.py
[414/2465] Generating python/net_drawer.py
[415/2465] Generating python/net_printer.py
[416/2465] Generating python/net_printer_test.py
[417/2465] Generating python/nomnigraph.py
[418/2465] Generating python/nomnigraph_test.py
[419/2465] Generating python/nomnigraph_transformations.py
[420/2465] Generating python/nomnigraph_transformations_test.py
[421/2465] Generating python/normalizer.py
[422/2465] Generating python/normalizer_context.py
[423/2465] Generating python/normalizer_test.py
[424/2465] Generating python/numa_benchmark.py
[425/2465] Generating python/numa_test.py
[426/2465] Generating python/observer_test.py
[427/2465] Generating python/onnx/__init__.py
[428/2465] Generating python/onnx/backend.py
[429/2465] Generating python/onnx/backend_cpp_rep.py
[430/2465] Generating python/onnx/backend_rep.py
[431/2465] Generating python/onnx/bin/__init__.py
[432/2465] Generating python/onnx/bin/conversion.py
[433/2465] Generating python/onnx/error.py
[434/2465] Generating python/onnx/frontend.py
[435/2465] Generating python/onnx/helper.py
[436/2465] Generating python/onnx/onnxifi.py
[437/2465] Generating python/onnx/test_onnxifi.py
[438/2465] Generating python/onnx/tests/__init__.py
[439/2465] Generating python/onnx/tests/c2_ref_test.py
[440/2465] Generating python/onnx/tests/conversion_test.py
[441/2465] Generating python/onnx/tests/helper_test.py
[442/2465] Generating python/onnx/tests/onnx_backend_test.py
[443/2465] Generating python/onnx/tests/ssa_test.py
[444/2465] Generating python/onnx/tests/test_utils.py
[445/2465] Generating python/onnx/workspace.py
[446/2465] Generating python/operator_fp_exceptions_test.py
[447/2465] Generating python/operator_test/__init__.py
[448/2465] Generating python/operator_test/_utils.py
[449/2465] Generating python/operator_test/activation_ops_test.py
[450/2465] Generating python/operator_test/adadelta_test.py
[451/2465] Generating python/operator_test/adagrad_test.py
[452/2465] Generating python/operator_test/adagrad_test_helper.py
[453/2465] Generating python/operator_test/adam_test.py
[454/2465] Generating python/operator_test/affine_channel_op_test.py
[455/2465] Generating python/operator_test/alias_with_name_test.py
[456/2465] Generating python/operator_test/apmeter_test.py
[457/2465] Generating python/operator_test/arg_ops_test.py
[458/2465] Generating python/operator_test/assert_test.py
[459/2465] Generating python/operator_test/async_net_barrier_test.py
[460/2465] Generating python/operator_test/atomic_ops_test.py
[461/2465] Generating python/operator_test/basic_rnn_test.py
[462/2465] Generating python/operator_test/batch_box_cox_test.py
[463/2465] Generating python/operator_test/batch_bucketize_op_test.py
[464/2465] Generating python/operator_test/batch_moments_op_test.py
[465/2465] Generating python/operator_test/batch_sparse_to_dense_op_test.py
[466/2465] Generating python/operator_test/bbox_transform_test.py
[467/2465] Generating python/operator_test/bisect_percentile_op_test.py
[468/2465] Generating python/operator_test/blobs_queue_db_test.py
[469/2465] Generating python/operator_test/boolean_mask_test.py
[470/2465] Generating python/operator_test/boolean_unmask_test.py
[471/2465] Generating python/operator_test/box_with_nms_limit_op_test.py
[472/2465] Generating python/operator_test/bucketize_op_test.py
[473/2465] Generating python/operator_test/cast_op_test.py
[474/2465] Generating python/operator_test/ceil_op_test.py
[475/2465] Generating python/operator_test/channel_backprop_stats_op_test.py
[476/2465] Generating python/operator_test/channel_shuffle_test.py
[477/2465] Generating python/operator_test/channel_stats_op_test.py
[478/2465] Generating python/operator_test/checkpoint_test.py
[479/2465] Generating python/operator_test/clip_op_test.py
[480/2465] Generating python/operator_test/clip_tensor_op_test.py
[481/2465] Generating python/operator_test/collect_and_distribute_fpn_rpn_proposals_op_test.py
[482/2465] Generating python/operator_test/concat_op_cost_test.py
[483/2465] Generating python/operator_test/concat_split_op_test.py
[484/2465] Generating python/operator_test/conditional_test.py
[485/2465] Generating python/operator_test/conftest.py
[486/2465] Generating python/operator_test/conv_test.py
[487/2465] Generating python/operator_test/conv_transpose_test.py
[488/2465] Generating python/operator_test/copy_ops_test.py
[489/2465] Generating python/operator_test/copy_rows_to_tensor_op_test.py
[490/2465] Generating python/operator_test/cosine_embedding_criterion_op_test.py
[491/2465] Generating python/operator_test/counter_ops_test.py
[492/2465] Generating python/operator_test/crf_test.py
[493/2465] Generating python/operator_test/cross_entropy_ops_test.py
[494/2465] Generating python/operator_test/ctc_beam_search_decoder_op_test.py
[495/2465] Generating python/operator_test/ctc_greedy_decoder_op_test.py
[496/2465] Generating python/operator_test/cudnn_recurrent_test.py
[497/2465] Generating python/operator_test/data_couple_op_test.py
[498/2465] Generating python/operator_test/dataset_ops_test.py
[499/2465] Generating python/operator_test/decay_adagrad_test.py
[500/2465] Generating python/operator_test/deform_conv_test.py
[501/2465] Generating python/operator_test/dense_vector_to_id_list_op_test.py
[502/2465] Generating python/operator_test/depthwise_3x3_conv_test.py
[503/2465] Generating python/operator_test/detectron_keypoints.py
[504/2465] Generating python/operator_test/distance_op_test.py
[505/2465] Generating python/operator_test/dropout_op_test.py
[506/2465] Generating python/operator_test/duplicate_operands_test.py
[507/2465] Generating python/operator_test/elementwise_linear_op_test.py
[508/2465] Generating python/operator_test/elementwise_logical_ops_test.py
[509/2465] Generating python/operator_test/elementwise_op_broadcast_test.py
[510/2465] Generating python/operator_test/elementwise_ops_test.py
[511/2465] Generating python/operator_test/emptysample_ops_test.py
[512/2465] Generating python/operator_test/enforce_finite_op_test.py
[513/2465] Generating python/operator_test/ensure_clipped_test.py
[514/2465] Generating python/operator_test/ensure_cpu_output_op_test.py
[515/2465] Generating python/operator_test/erf_op_test.py
[516/2465] Generating python/operator_test/expand_op_test.py
[517/2465] Generating python/operator_test/fc_operator_test.py
[518/2465] Generating python/operator_test/feature_maps_ops_test.py
[519/2465] Generating python/operator_test/filler_ops_test.py
[520/2465] Generating python/operator_test/find_op_test.py
[521/2465] Generating python/operator_test/flatten_op_test.py
[522/2465] Generating python/operator_test/flexible_top_k_test.py
[523/2465] Generating python/operator_test/floor_op_test.py
[524/2465] Generating python/operator_test/fused_nbit_rowwise_conversion_ops_test.py
[525/2465] Generating python/operator_test/fused_nbit_rowwise_test_helper.py
[526/2465] Generating python/operator_test/gather_ops_test.py
[527/2465] Generating python/operator_test/gather_ranges_op_test.py
[528/2465] Generating python/operator_test/given_tensor_byte_string_to_uint8_fill_op_test.py
[529/2465] Generating python/operator_test/given_tensor_fill_op_test.py
[530/2465] Generating python/operator_test/glu_op_test.py
[531/2465] Generating python/operator_test/group_conv_test.py
[532/2465] Generating python/operator_test/group_norm_op_test.py
[533/2465] Generating python/operator_test/gru_test.py
[534/2465] Generating python/operator_test/heatmap_max_keypoint_op_test.py
[535/2465] Generating python/operator_test/histogram_test.py
[536/2465] Generating python/operator_test/hsm_test.py
[537/2465] Generating python/operator_test/hyperbolic_ops_test.py
[538/2465] Generating python/operator_test/im2col_col2im_test.py
[539/2465] Generating python/operator_test/image_input_op_test.py
[540/2465] Generating python/operator_test/index_hash_ops_test.py
[541/2465] Generating python/operator_test/index_ops_test.py
[542/2465] Generating python/operator_test/instance_norm_test.py
[543/2465] Generating python/operator_test/integral_image_ops_test.py
[544/2465] Generating python/operator_test/jsd_ops_test.py
[545/2465] Generating python/operator_test/key_split_ops_test.py
[546/2465] Generating python/operator_test/lars_test.py
[547/2465] Generating python/operator_test/layer_norm_op_test.py
[548/2465] Generating python/operator_test/leaky_relu_test.py
[549/2465] Generating python/operator_test/learning_rate_adaption_op_test.py
[550/2465] Generating python/operator_test/learning_rate_op_test.py
[551/2465] Generating python/operator_test/length_split_op_test.py
[552/2465] Generating python/operator_test/lengths_pad_op_test.py
[553/2465] Generating python/operator_test/lengths_reducer_fused_nbit_rowwise_ops_test.py
[554/2465] Generating python/operator_test/lengths_tile_op_test.py
[555/2465] Generating python/operator_test/lengths_top_k_ops_test.py
[556/2465] Generating python/operator_test/listwise_l2r_operator_test.py
[557/2465] Generating python/operator_test/load_save_test.py
[558/2465] Generating python/operator_test/locally_connected_op_test.py
[559/2465] Generating python/operator_test/loss_ops_test.py
[560/2465] Generating python/operator_test/lpnorm_op_test.py
[561/2465] Generating python/operator_test/map_ops_test.py
[562/2465] Generating python/operator_test/margin_loss_l2r_operator_test.py
[563/2465] Generating python/operator_test/margin_ranking_criterion_op_test.py
[564/2465] Generating python/operator_test/math_ops_test.py
[565/2465] Generating python/operator_test/matmul_op_test.py
[566/2465] Generating python/operator_test/mean_op_test.py
[567/2465] Generating python/operator_test/merge_id_lists_op_test.py
[568/2465] Generating python/operator_test/mkl_conv_op_test.py
[569/2465] Generating python/operator_test/mkl_packed_fc_op_test.py
[570/2465] Generating python/operator_test/mod_op_test.py
[571/2465] Generating python/operator_test/moments_op_test.py
[572/2465] Generating python/operator_test/momentum_sgd_test.py
[573/2465] Generating python/operator_test/mpi_test.py
[574/2465] Generating python/operator_test/mul_gradient_benchmark.py
[575/2465] Generating python/operator_test/negate_gradient_op_test.py
[576/2465] Generating python/operator_test/ngram_ops_test.py
[577/2465] Generating python/operator_test/normalize_op_test.py
[578/2465] Generating python/operator_test/numpy_tile_op_test.py
[579/2465] Generating python/operator_test/one_hot_ops_test.py
[580/2465] Generating python/operator_test/onnx_while_test.py
[581/2465] Generating python/operator_test/order_switch_test.py
[582/2465] Generating python/operator_test/pack_ops_test.py
[583/2465] Generating python/operator_test/pack_rnn_sequence_op_test.py
[584/2465] Generating python/operator_test/pad_test.py
[585/2465] Generating python/operator_test/partition_ops_test.py
[586/2465] Generating python/operator_test/percentile_op_test.py
[587/2465] Generating python/operator_test/piecewise_linear_transform_test.py
[588/2465] Generating python/operator_test/pooling_test.py
[589/2465] Generating python/operator_test/prepend_dim_test.py
[590/2465] Generating python/operator_test/python_op_test.py
[591/2465] Generating python/operator_test/quantile_test.py
[592/2465] Generating python/operator_test/rand_quantization_op_speed_test.py
[593/2465] Generating python/operator_test/rank_loss_operator_test.py
[594/2465] Generating python/operator_test/rebatching_queue_test.py
[595/2465] Generating python/operator_test/record_queue_test.py
[596/2465] Generating python/operator_test/recurrent_net_executor_test.py
[597/2465] Generating python/operator_test/recurrent_network_test.py
[598/2465] Generating python/operator_test/reduce_ops_test.py
[599/2465] Generating python/operator_test/reduction_ops_test.py
[600/2465] Generating python/operator_test/reshape_ops_test.py
[601/2465] Generating python/operator_test/resize_op_test.py
[602/2465] Generating python/operator_test/rmac_regions_op_test.py
[603/2465] Generating python/operator_test/rms_norm_op_test.py
[604/2465] Generating python/operator_test/rnn_cell_test.py
[605/2465] Generating python/operator_test/roi_align_rotated_op_test.py
[606/2465] Generating python/operator_test/rowwise_counter_test.py
[607/2465] Generating python/operator_test/scale_op_test.py
[608/2465] Generating python/operator_test/segment_ops_test.py
[609/2465] Generating python/operator_test/self_binning_histogram_test.py
[610/2465] Generating python/operator_test/selu_op_test.py
[611/2465] Generating python/operator_test/sequence_ops_test.py
[612/2465] Generating python/operator_test/shape_inference_test.py
[613/2465] Generating python/operator_test/sinusoid_position_encoding_op_test.py
[614/2465] Generating python/operator_test/softmax_ops_test.py
[615/2465] Generating python/operator_test/softplus_op_test.py
[616/2465] Generating python/operator_test/sparse_dropout_with_replacement_op_test.py
[617/2465] Generating python/operator_test/sparse_gradient_checker_test.py
[618/2465] Generating python/operator_test/sparse_itemwise_dropout_with_replacement_op_test.py
[619/2465] Generating python/operator_test/sparse_lengths_sum_benchmark.py
[620/2465] Generating python/operator_test/sparse_lp_regularizer_test.py
[621/2465] Generating python/operator_test/sparse_normalize_test.py
[622/2465] Generating python/operator_test/sparse_ops_test.py
[623/2465] Generating python/operator_test/sparse_to_dense_mask_op_test.py
[624/2465] Generating python/operator_test/spatial_bn_op_test.py
[625/2465] Generating python/operator_test/specialized_segment_ops_test.py
[626/2465] Generating python/operator_test/split_op_cost_test.py
[627/2465] Generating python/operator_test/square_root_divide_op_test.py
[628/2465] Generating python/operator_test/stats_ops_test.py
[629/2465] Generating python/operator_test/stats_put_ops_test.py
[630/2465] Generating python/operator_test/storm_test.py
[631/2465] Generating python/operator_test/string_ops_test.py
[632/2465] Generating python/operator_test/text_file_reader_test.py
[633/2465] Generating python/operator_test/thresholded_relu_op_test.py
[634/2465] Generating python/operator_test/tile_op_test.py
[635/2465] Generating python/operator_test/top_k_test.py
[636/2465] Generating python/operator_test/torch_integration_test.py
[637/2465] Generating python/operator_test/transpose_op_test.py
[638/2465] Generating python/operator_test/trigonometric_op_test.py
[639/2465] Generating python/operator_test/unique_ops_test.py
[640/2465] Generating python/operator_test/unique_uniform_fill_op_test.py
[641/2465] Generating python/operator_test/unsafe_coalesce_test.py
[642/2465] Generating python/operator_test/upsample_op_test.py
[643/2465] Generating python/operator_test/utility_ops_test.py
[644/2465] Generating python/operator_test/video_input_op_test.py
[645/2465] Generating python/operator_test/weight_scale_test.py
[646/2465] Generating python/operator_test/weighted_multi_sample_test.py
[647/2465] Generating python/operator_test/weighted_sample_test.py
[648/2465] Generating python/operator_test/weighted_sum_test.py
[649/2465] Generating python/operator_test/wngrad_test.py
[650/2465] Generating python/optimizer.py
[651/2465] Generating python/optimizer_context.py
[652/2465] Generating python/optimizer_test.py
[653/2465] Generating python/optimizer_test_util.py
[654/2465] Generating python/parallel_workers.py
[655/2465] Generating python/parallel_workers_test.py
[656/2465] Generating python/parallelize_bmuf_distributed_test.py
[657/2465] Generating python/pipeline.py
[658/2465] Generating python/pipeline_test.py
[659/2465] Generating python/predictor/__init__.py
[660/2465] Generating python/predictor/mobile_exporter.py
[661/2465] Generating python/predictor/mobile_exporter_test.py
[662/2465] Generating python/predictor/predictor_exporter.py
[663/2465] Generating python/predictor/predictor_exporter_test.py
[664/2465] Generating python/predictor/predictor_py_utils.py
[665/2465] Generating python/predictor/predictor_test.py
[666/2465] Generating python/predictor/serde.py
[667/2465] Generating python/predictor_constants.py
[668/2465] Generating python/python_op_test.py
[669/2465] Generating python/queue_util.py
[670/2465] Generating python/record_queue.py
[671/2465] Generating python/recurrent.py
[672/2465] Generating python/regularizer.py
[673/2465] Generating python/regularizer_context.py
[674/2465] Generating python/regularizer_test.py
[675/2465] Generating python/rnn/__init__.py
[676/2465] Generating python/rnn/lstm_comparison.py
[677/2465] Generating python/rnn/rnn_cell_test_util.py
[678/2465] Generating python/rnn_cell.py
[679/2465] Generating python/schema.py
[680/2465] Generating python/schema_test.py
[681/2465] Generating python/scope.py
[682/2465] Generating python/scope_test.py
[683/2465] Generating python/serialized_test/__init__.py
[684/2465] Generating python/serialized_test/coverage.py
[685/2465] Generating python/serialized_test/serialized_test_util.py
[686/2465] Generating python/session.py
[687/2465] Generating python/session_test.py
[688/2465] Generating python/sparse_to_dense_mask_test.py
[689/2465] Generating python/sparse_to_dense_test.py
[690/2465] Generating python/task.py
[691/2465] Generating python/task_test.py
[692/2465] Generating python/test/__init__.py
[693/2465] Generating python/test/blob_deallocation_test.py
[694/2465] Generating python/test/do_op_test.py
[695/2465] Generating python/test/executor_test.py
[696/2465] Generating python/test/executor_test_util.py
[697/2465] Generating python/test/fakefp16_transform_test.py
[698/2465] Generating python/test/gpu_context_test.py
[699/2465] Generating python/test/inference_lstm_op_test.py
[700/2465] Generating python/test/net_name_test.py
[701/2465] Generating python/test/python_protobuf_test.py
[702/2465] Generating python/test_util.py
[703/2465] Generating python/text_file_reader.py
[704/2465] Generating python/timeout_guard.py
[705/2465] Generating python/toy_regression_test.py
[706/2465] Generating python/transformations.py
[707/2465] Generating python/transformations_test.py
[708/2465] Generating python/trt/__init__.py
[709/2465] Generating python/trt/test_pt_onnx_trt.py
[710/2465] Generating python/trt/test_trt.py
[711/2465] Generating python/trt/transform.py
[712/2465] Generating python/tt_core.py
[713/2465] Generating python/tt_core_test.py
[714/2465] Generating python/utils.py
[715/2465] Generating python/utils_test.py
[716/2465] Generating python/visualize.py
[717/2465] Generating python/workspace.py
[718/2465] Generating python/workspace_test.py
[719/2465] Generating quantization/__init__.py
[720/2465] Generating quantization/server/__init__.py
[721/2465] Generating quantization/server/batch_matmul_dnnlowp_op_test.py
[722/2465] Generating quantization/server/batch_permutation_dnnlowp_op_test.py
[723/2465] Generating quantization/server/channel_shuffle_dnnlowp_op_test.py
[724/2465] Generating quantization/server/compute_equalization_scale_test.py
[725/2465] Generating quantization/server/concat_dnnlowp_op_test.py
[726/2465] Generating quantization/server/conv_depthwise_dnnlowp_op_test.py
[727/2465] Generating quantization/server/conv_dnnlowp_acc16_op_test.py
[728/2465] Generating quantization/server/conv_dnnlowp_op_test.py
[729/2465] Generating quantization/server/conv_groupwise_dnnlowp_acc16_op_test.py
[730/2465] Generating quantization/server/conv_groupwise_dnnlowp_op_test.py
[731/2465] Generating quantization/server/dequantize_dnnlowp_op_test.py
[732/2465] Generating quantization/server/dnnlowp_test_utils.py
[733/2465] Generating quantization/server/elementwise_add_dnnlowp_op_test.py
[734/2465] Generating quantization/server/elementwise_linear_dnnlowp_op_test.py
[735/2465] Generating quantization/server/elementwise_mul_dnnlowp_op_test.py
[736/2465] Generating quantization/server/elementwise_sum_dnnlowp_op_test.py
[737/2465] Generating quantization/server/fully_connected_dnnlowp_acc16_op_test.py
[738/2465] Generating quantization/server/fully_connected_dnnlowp_op_test.py
[739/2465] Generating quantization/server/fully_connected_fp16_test.py
[740/2465] Generating quantization/server/fully_connected_rowwise_dnnlowp_op_test.py
[741/2465] Generating quantization/server/gather_dnnlowp_op_test.py
[742/2465] Generating quantization/server/group_norm_dnnlowp_op_test.py
[743/2465] Generating quantization/server/int8_gen_quant_params_min_max_test.py
[744/2465] Generating quantization/server/int8_gen_quant_params_test.py
[745/2465] Generating quantization/server/int8_quant_scheme_blob_fill_test.py
[746/2465] Generating quantization/server/lstm_unit_dnnlowp_op_test.py
[747/2465] Generating quantization/server/observer_test.py
[748/2465] Generating quantization/server/pool_dnnlowp_op_test.py
[749/2465] Generating quantization/server/quantize_dnnlowp_op_test.py
[750/2465] Generating quantization/server/relu_dnnlowp_op_test.py
[751/2465] Generating quantization/server/resize_nearest_3d_dnnlowp_op_test.py
[752/2465] Generating quantization/server/resize_nearest_dnnlowp_op_test.py
[753/2465] Generating quantization/server/sigmoid_dnnlowp_op_test.py
[754/2465] Generating quantization/server/spatial_batch_norm_dnnlowp_op_test.py
[755/2465] Generating quantization/server/tanh_dnnlowp_op_test.py
[756/2465] Generating quantization/server/utils.py
[757/2465] Running C++/Python protocol buffer compiler on /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/proto/caffe2.proto
[758/2465] Running C++/Python protocol buffer compiler on /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/proto/caffe2_legacy.proto
[759/2465] Running C++/Python protocol buffer compiler on /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/proto/hsm.proto
[760/2465] Running C++/Python protocol buffer compiler on /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/proto/metanet.proto
[761/2465] Running C++/Python protocol buffer compiler on /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/proto/predictor_consts.proto
[762/2465] Running C++/Python protocol buffer compiler on /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/proto/prof_dag.proto
[763/2465] Running C++/Python protocol buffer compiler on /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/proto/torch.proto
[764/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/AccumulateType.cpp.o
[765/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CPUGeneratorImpl.cpp.o
[766/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CachedTensorUtils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/CachedTensorUtils.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[767/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ConjugateFallback.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/MathBitsFallback.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ConjugateFallback.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[768/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Context.cpp.o
[769/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DLConvertor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DLConvertor.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DLConvertor.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[770/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DeviceAccelerator.cpp.o
[771/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Dispatch.cpp.o
[772/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DynamicLibrary.cpp.o
[773/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/EmptyTensor.cpp.o
[774/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ExpandUtils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[775/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FuncTorchTLS.cpp.o
[776/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalInverses.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalInverses.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[777/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalStorageImpl.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalStorageImpl.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[778/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalTensorWrapper.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[779/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalizeFallbackKernel.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalizeFallbackKernel.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[780/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchedFallback.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/LegacyBatchedFallback.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/LegacyBatchedFallback.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/LegacyBatchedFallback.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[781/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchedTensorImpl.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/LegacyBatchedTensorImpl.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[782/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchingRegistrations.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/LegacyBatchingRegistrations.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[783/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyVmapMode.cpp.o
[784/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyVmapTransforms.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/LegacyVmapTransforms.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/LegacyVmapTransforms.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[785/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MapAllocator.cpp.o
[786/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MemoryOverlap.cpp.o
[787/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NamedTensorUtils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[788/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NestedTensorImpl.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NestedTensorImpl.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[789/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelCommon.cpp.o
[790/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNative.cpp.o
[791/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNativeTBB.cpp.o
[792/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelOpenMP.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ParallelFuture.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ParallelOpenMP.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[793/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelThreadPoolNative.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ParallelThreadPoolNative.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[794/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/PythonTorchFunctionTLS.cpp.o
[795/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SavedTensorHooks.cpp.o
[796/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ScalarOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ScalarOps.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ScalarOps.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[797/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SequenceNumber.cpp.o
[798/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseCsrTensorImpl.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/SparseCsrTensorImpl.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[799/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorImpl.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/SparseTensorImpl.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[800/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/StorageUtils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/Functions.h:60,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/StorageUtils.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[801/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorGeometry.cpp.o
[802/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIndexing.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorIndexing.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorIndexing.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[803/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIterator.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorIterator.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[804/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorMeta.cpp.o
[805/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorNames.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[806/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorUtils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorUtils.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[807/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalPythonObjects.cpp.o
[808/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalState.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[809/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Utils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/Functions.h:60,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/Utils.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[810/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Version.cpp.o
[811/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapModeRegistrations.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/VmapModeRegistrations.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[812/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ZeroTensorFallback.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ZeroTensorFallback.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ZeroTensorFallback.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ZeroTensorFallback.cpp: In function ‘void at::zeroTensorFallback(const c10::OperatorHandle&, c10::DispatchKeySet, torch::jit::Stack*)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ZeroTensorFallback.cpp:69:25: warning: possibly dangling reference to a temporary [-Wdangling-reference]
   69 |           const Tensor& tensor = tensors[j];
      |                         ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ZeroTensorFallback.cpp:69:43: note: the temporary was destroyed at the end of the full expression ‘tensors.c10::List<at::Tensor>::operator[](((long unsigned int)j)).c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
   69 |           const Tensor& tensor = tensors[j];
      |                                           ^
[813/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/autocast_mode.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/autocast_mode.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/autocast_mode.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/autocast_mode.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[814/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/cpu/FlushDenormal.cpp.o
[815/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/cpu/Utils.cpp.o
[816/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CPUGuardImpl.cpp.o
[817/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CUDAHooksInterface.cpp.o
[818/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/HIPHooksInterface.cpp.o
[819/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/IPUHooksInterface.cpp.o
[820/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MPSHooksInterface.cpp.o
[821/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MTIAHooksInterface.cpp.o
[822/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MetaGuardImpl.cpp.o
[823/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/ORTHooksInterface.cpp.o
[824/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/PrivateUse1HooksInterface.cpp.o
[825/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/XPUHooksInterface.cpp.o
[826/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/ADInterpreters.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/ADInterpreters.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/ADInterpreters.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[827/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesActivation.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesActivation.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[828/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesBinaryOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesBinaryOps.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[829/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesConvolution.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesConvolution.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[830/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesDecompositions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesDecompositions.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[831/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesDynamic.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesDynamic.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesDynamic.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[832/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesFactory.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesFactory.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[833/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesHelper.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[834/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesLinearAlgebra.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesLinearAlgebra.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[835/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesLoss.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesLoss.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[836/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesModules.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesModules.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[837/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesNorm.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesNorm.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[838/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesPooling.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesPooling.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[839/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesRandomness.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesRandomness.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesRandomness.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[840/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesReduceOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesReduceOps.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[841/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesScatterOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesScatterOps.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[842/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesUnaryOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesUnaryOps.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[843/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesViews.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesViews.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchRulesHelper.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[844/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchedFallback.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchedFallback.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchedFallback.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchedFallback.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[845/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchedTensorImpl.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/BatchedTensorImpl.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[846/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/DynamicLayer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[847/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/FunctionalizeInterpreter.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/FunctionalizeInterpreter.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/FunctionalizeInterpreter.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[848/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/Interpreter.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[849/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/LegacyBatchingRegistrations.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/LegacyBatchingRegistrations.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[850/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/LegacyVmapTransforms.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/LegacyVmapTransforms.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[851/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/PlumbingHelper.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/TensorWrapper.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/PlumbingHelper.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[852/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/PyTorchOperatorHacks.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/PyTorchOperatorHacks.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[853/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/TensorWrapper.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/TensorWrapper.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/TensorWrapper.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[854/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/VmapInterpreter.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/VmapInterpreter.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/VmapInterpreter.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[855/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/VmapModeRegistrations.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/VmapModeRegistrations.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[856/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/record_function.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[857/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenGeneral.cpp.o
[858/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/BackendSelectFallbackKernel.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/BackendSelectFallbackKernel.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[859/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/DeprecatedTypeProperties.cpp.o
[860/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/DeprecatedTypePropertiesRegistry.cpp.o
[861/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Dict.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Dict_inl.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Dict.h:397,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Dict.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[862/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Dimname.cpp.o
[863/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Formatting.cpp.o
[864/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Generator.cpp.o
[865/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/GeneratorForPrivateuseone.cpp.o
[866/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/List.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[867/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/MetaFallbackKernel.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/MetaFallbackKernel.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[868/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/NamedRegistrations.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/NamedRegistrations.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[869/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/NamedTensor.cpp.o
[870/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/NestedIntSymNodeImpl.cpp.o
[871/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/PythonFallbackKernel.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/TorchDispatchUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/PythonFallbackKernel.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/PythonFallbackKernel.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[872/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/PythonOpRegistrationTrampoline.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/PythonOpRegistrationTrampoline.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/PythonOpRegistrationTrampoline.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[873/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Range.cpp.o
[874/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Tensor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Tensor.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[875/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/TorchDispatchUtils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/TorchDispatchUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/TorchDispatchUtils.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[876/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/VariableFallbackKernel.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/VariableFallbackKernel.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[877/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/VariableHooksInterface.cpp.o
[878/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Vitals.cpp.o
[879/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/adaption.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/adaption.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/adaption.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[880/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/blob.cpp.o
[881/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/boxing/KernelFunction.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[882/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/class_type.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/class_type.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/class_type.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[883/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/custom_class.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/custom_class.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/custom_class.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[884/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/DispatchKeyExtractor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[885/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/Dispatcher.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[886/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/ObservedOperators.cpp.o
[887/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/OperatorEntry.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[888/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dynamic_type.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/class_type.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dynamic_type.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[889/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/function_schema.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[890/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/interned_strings.cpp.o
[891/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ivalue.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Dict_inl.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Dict.h:397,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[892/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/library.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/library.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[893/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/op_registration/infer_schema.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[894/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/op_registration/op_registration.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/op_registration.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[895/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/operator_name.cpp.o
[896/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/register_symbols.cpp.o
[897/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/tensor_type.cpp.o
[898/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/type.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Dict_inl.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Dict.h:397,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/type.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[899/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/type_factory.cpp.o
[900/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/union_type.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Dict_inl.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Dict.h:397,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/union_type.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[901/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/error_report.cpp.o
[902/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/function_schema_parser.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/function_schema_parser.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/function_schema_parser.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[903/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/lexer.cpp.o
[904/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/schema_type_parser.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/builtin_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/schema_type_parser.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[905/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/strtod.cpp.o
[906/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/source_range.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/source_range_serialization.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/source_range.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[907/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Activation.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Activation.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[908/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveAveragePooling.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_adaptive_avg_pool2d.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/AdaptiveAveragePooling.cpp:11:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[909/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveAveragePooling3d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_adaptive_avg_pool3d.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/AdaptiveAveragePooling3d.cpp:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[910/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveMaxPooling2d.cpp.o
[911/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveMaxPooling3d.cpp.o
[912/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AffineGridGenerator.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/AffineGridGenerator.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[913/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AmpKernels.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_amp_foreach_non_finite_check_and_unscale.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/AmpKernels.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[914/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AutogradComposite.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/alias.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/AutogradComposite.cpp:15:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[915/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AveragePool2d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ScalarOps.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/AveragePool2d.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[916/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AveragePool3d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ScalarOps.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/AveragePool3d.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[917/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BatchLinearAlgebra.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/BatchLinearAlgebra.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[918/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BatchLinearAlgebraKernel.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/LinearAlgebraUtils.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/BatchLinearAlgebraKernel.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[919/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BinaryOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ScalarOps.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/BinaryOps.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[920/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Blas.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Blas.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[921/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BlasKernel.cpp.o
[922/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Bucketization.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TypeProperties.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/BucketizationUtils.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Bucketization.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[923/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/CPUBlas.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/LinearAlgebraUtils.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/Matmul.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/CPUBlas.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[924/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/CPUFallback.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/CPUFallback.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/CPUFallback.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/CPUFallback.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[925/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ChanelShuffle.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ChanelShuffle.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[926/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Col2Im.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Col2Im.cpp:15:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[927/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ComparisonUtils.cpp.o
[928/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Constraints.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Constraints.cpp:17:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[929/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Convolution.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Convolution.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[930/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionMM2d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_slow_conv2d_forward.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ConvolutionMM2d.cpp:17:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[931/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionMM3d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ConvolutionMM3d.cpp:17:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[932/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionTBC.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ConvolutionTBC.cpp:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[933/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Copy.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Copy.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Copy.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[934/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Correlation.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Correlation.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[935/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Cross.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Cross.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[936/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DilatedMaxPool2d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ScalarOps.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/DilatedMaxPool2d.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[937/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DilatedMaxPool3d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/DilatedMaxPool3d.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[938/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DispatchStub.cpp.o
[939/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Distance.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Distance.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[940/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Distributions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Distributions.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[941/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Dropout.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Dropout.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[942/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Embedding.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Embedding.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[943/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/EmbeddingBag.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/EmbeddingBag.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[944/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Fill.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ScalarOps.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Fill.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[945/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ForeachOpsKernels.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/copy.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ForeachOpsKernels.cpp:56:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[946/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FractionalMaxPool2d.cpp.o
[947/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FractionalMaxPool3d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/FractionalMaxPool3d.cpp:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[948/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FunctionOfAMatrixUtils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/zeros.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/FunctionOfAMatrixUtils.cpp:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[949/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/GatedLinearUnit.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/GatedLinearUnit.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[950/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/GridSampler.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_empty_affine_quantized.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/GridSampler.cpp:17:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[951/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Histogram.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ResizeCommon.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Resize.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Histogram.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[952/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Im2Col.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Im2Col.cpp:15:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[953/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/IndexingUtils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/IndexingUtils.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/IndexingUtils.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[954/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Integration.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Integration.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[955/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Itertools.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Itertools.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[956/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LegacyBatching.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/LegacyBatching.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[957/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LegacyBridge.cpp.o
[958/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Lerp.cpp.o
[959/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Linear.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ResizeCommon.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Resize.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Linear.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[960/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LinearAlgebra.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/LinearAlgebra.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[961/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Loss.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Loss.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[962/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossCTC.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/LossCTC.cpp:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[963/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossMultiLabelMargin.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/LossMultiLabelMargin.cpp:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[964/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossMultiMargin.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/LossMultiMargin.cpp:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[965/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossNLL.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorIndexing.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/LossNLL.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[966/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossNLL2d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ResizeCommon.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Resize.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/LossNLL2d.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[967/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MaxPooling.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/MaxPooling.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[968/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MaxUnpooling.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/MaxUnpooling.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[969/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Memory.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_pin_memory.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Memory.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[970/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MetaTensor.cpp.o
[971/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NNPACK.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/NNPACK.cpp:15:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[972/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveConvolutionTranspose2d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/NaiveConvolutionTranspose2d.cpp:15:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[973/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveConvolutionTranspose3d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/NaiveConvolutionTranspose3d.cpp:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[974/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveDilatedConvolution.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/NaiveDilatedConvolution.cpp:18:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[975/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NamedTensor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/NamedTensor.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[976/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NegateFallback.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/MathBitsFallback.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/NegateFallback.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[977/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Normalization.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ScalarOps.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Normalization.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[978/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Onehot.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/arange.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Onehot.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[979/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PackedSequence.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/cat.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/PackedSequence.cpp:11:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[980/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PadNd.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_empty_affine_quantized.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/PadNd.cpp:11:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[981/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PixelShuffle.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/roll.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorTransformations.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/PixelShuffle.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[982/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PointwiseOps.cpp.o
[983/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Pooling.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Pooling.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[984/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Pow.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ScalarOps.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Pow.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[985/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/QuantizedLinear.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtilsMulti.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/QuantizedLinear.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[986/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RNN.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/RNN.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/RNN.cpp:15:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[987/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RangeFactories.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/linspace.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/RangeFactories.cpp:15:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[988/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReduceAllOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ResizeCommon.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Resize.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ReduceAllOps.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[989/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReduceOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ReduceOps.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[990/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReflectionPad.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_empty_affine_quantized.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ReflectionPad.cpp:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[991/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Repeat.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Repeat.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Repeat.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[992/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReplicationPadding.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/zeros_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ReplicationPadding.cpp:20:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[993/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Resize.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ResizeCommon.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Resize.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Resize.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[994/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RowwisePrune.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/RowwisePrune.cpp:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[995/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Scalar.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_local_scalar_dense.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Scalar.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[996/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SegmentReduce.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/SegmentReduce.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[997/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SobolEngineOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/arange.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/SobolEngineOpsUtils.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/SobolEngineOps.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[998/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SobolEngineOpsUtils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/arange.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/SobolEngineOpsUtils.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/SobolEngineOpsUtils.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[999/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SoftMax.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/SoftMax.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1000/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Sorting.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Sorting.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1001/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SparseTensorUtils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/SparseTensorImpl.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/SparseTensorUtils.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/SparseTensorUtils.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1002/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SpectralOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorSubclassLikeUtils.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/SpectralOps.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1003/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SummaryOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/zeros.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/SummaryOps.cpp:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1004/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorAdvancedIndexing.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorAdvancedIndexing.cpp:51:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1005/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorCompare.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorCompare.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1006/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorConversions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorConversions.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1007/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorFactories.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1008/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorIteratorReduce.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorIteratorReduce.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1009/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorProperties.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorProperties.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1010/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorShape.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorShape.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1011/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorTransformations.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/roll.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorTransformations.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorTransformations.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1012/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TestOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ScalarOps.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TestOps.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1013/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TriangularOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/LinearAlgebraUtils.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TriangularOpsUtils.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TriangularOps.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1014/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TypeProperties.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TypeProperties.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TypeProperties.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1015/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UnaryOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/UnaryOps.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1016/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unfold2d.cpp.o
[1017/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unfold3d.cpp.o
[1018/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UnfoldBackward.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/arange.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/UnfoldBackward.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/UnfoldBackward.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1019/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unique.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Unique.cpp:17:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1020/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSample.cpp.o
[1021/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleBicubic2d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_upsample_bicubic2d_aa.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/UpSampleBicubic2d.cpp:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1022/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleBilinear2d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_upsample_bilinear2d_aa.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/UpSampleBilinear2d.cpp:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1023/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleLinear1d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/upsample_linear1d.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/UpSampleLinear1d.cpp:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1024/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest1d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_upsample_nearest_exact1d.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/UpSampleNearest1d.cpp:11:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1025/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest2d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_upsample_nearest_exact2d.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/UpSampleNearest2d.cpp:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1026/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest3d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_upsample_nearest_exact3d.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/UpSampleNearest3d.cpp:11:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1027/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleTrilinear3d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/upsample_trilinear3d.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/UpSampleTrilinear3d.cpp:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1028/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/VariableMethodStubs.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/alias.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/VariableMethodStubs.cpp:11:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1029/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/WeightNorm.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/WeightNorm.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1030/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/group_norm.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/group_norm.cpp:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1031/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/layer_norm.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/layer_norm.cpp:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1032/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/prim_native_functions.cpp.o
[1033/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/verbose_wrapper.cpp.o
[1034/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/library.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ao_sparse/library.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1035/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/fbgemm_utils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/builtin_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ao_sparse/quantized/cpu/fbgemm_utils.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1036/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/builtin_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1037/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_deserialize.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_deserialize.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1038/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_dynamic.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/builtin_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_dynamic.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1039/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_prepack.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/builtin_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_prepack.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1040/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_serialize.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_serialize.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1041/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_unpack.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/builtin_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_unpack.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1042/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/FlattenIndicesKernel.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/FlattenIndicesCommon.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/FlattenIndicesKernel.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1043/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/ParamUtils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/ParamUtils.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1044/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SoftMax.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/SoftMax.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1045/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBinaryOpIntersectionKernel.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/SparseBinaryOpIntersectionCommon.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/SparseBinaryOpIntersectionKernel.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1046/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBlas.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/SparseBlas.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1047/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBlasImpl.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/SparseTensorImpl.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/SparseCsrTensorUtils.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/SparseBlasImpl.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/SparseBlasImpl.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1048/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseCsrTensor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/SparseTensorImpl.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/SparseCsrTensorUtils.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/SparseCsrTensor.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1049/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseCsrTensorMath.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/SparseCsrTensorMath.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1050/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseFactories.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_unique.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/SparseFactories.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1051/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseMatMul.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/SparseMatMul.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1052/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseTensor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/SparseTensorImpl.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/SparseTensor.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1053/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseTensorMath.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorIndexing.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/SparseTensorMath.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1054/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseUnaryOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/SparseTensorImpl.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/SparseTensorUtils.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/SparseUnaryOps.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1055/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/ValidateCompressedIndicesKernel.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/SparseTensorImpl.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/SparseTensorUtils.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/ValidateCompressedIndicesCommon.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/sparse/ValidateCompressedIndicesKernel.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1056/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorAliases.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/nested/NestedTensorAliases.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1057/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorBackward.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/nested/NestedTensorBackward.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1058/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorBinaryOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/Functions.h:60,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/nested/NestedTensorBinaryOps.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1059/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorFactories.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/nested/NestedTensorFactories.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1060/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorMath.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/Functions.h:60,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/nested/NestedTensorMath.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1061/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorMatmul.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/Functions.h:60,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/nested/NestedTensorMatmul.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1062/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorTransformerFunctions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/nested/NestedTensorTransformerFunctions.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1063/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorUnaryOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/Functions.h:60,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/nested/NestedTensorUnaryOps.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1064/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorUtils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/cat.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/nested/NestedTensorUtils.h:17,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/nested/NestedTensorUtils.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1065/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/AffineQuantizer.cpp.o
[1066/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/AffineQuantizerBase.cpp.o
[1067/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/Copy.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/Copy.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1068/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/FakeQuantPerChannelAffine.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/FakeQuantPerChannelAffine.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1069/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/FakeQuantPerTensorAffine.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/FakeQuantPerTensorAffine.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1070/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/QTensor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/QTensor.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1071/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorAdvancedIndexing.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/TensorAdvancedIndexing.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1072/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorCompare.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/TensorCompare.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1073/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorFactories.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/TensorFactories.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1074/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AdaptiveAveragePooling.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/AdaptiveAveragePooling.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1075/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AveragePool2d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/AveragePool2d.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1076/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AveragePool3d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/AveragePool3d.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1077/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/BinaryOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/BinaryOps.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/BinaryOps.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1078/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/ChannelShuffle.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/ChannelShuffle.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1079/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/IntReprQuant.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/IntReprQuant.cpp:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1080/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/LinearUnpackImpl.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/cpp_custom_type_hack.h:57,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/LinearUnpackImpl.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/LinearUnpackImpl.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1081/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/MakePerTensorQuantizedTensor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_empty_affine_quantized.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/MakePerTensorQuantizedTensor.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1082/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Normalization.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/Normalization.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1083/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Pooling.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/Pooling.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1084/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/ReduceOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/ReduceOps.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1085/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/RuyUtils.cpp.o
[1086/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Sorting.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/Sorting.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1087/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/TensorOperators.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/TensorOperators.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1088/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/TensorShape.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/TensorShape.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/TensorShape.cpp:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1089/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleBilinear2d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/UpSampleBilinear2d.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1090/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleNearest2d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_empty_affine_quantized.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/UpSampleNearest2d.cpp:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1091/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleNearest3d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_empty_affine_quantized.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/UpSampleNearest3d.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1092/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/XnnpackUtils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/XnnpackUtils.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1093/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:21:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/conv_serialization.h: In instantiation of ‘c10::intrusive_ptr<ConvPackedParamsBase<kSpatialDim> > deserialize_conv(ConvParamsSerializationTypeV3) [with unsigned int kSpatialDim = 2; ConvParamsSerializationTypeV3 = std::tuple<long int, std::vector<long int, std::allocator<long int> >, std::vector<std::optional<at::Tensor>, std::allocator<std::optional<at::Tensor> > > >]’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:410:47:   required from ‘int register_conv_params() [with int kSpatialDim = 2]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note:   410 |           return deserialize_conv<kSpatialDim>(state);
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note:       |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:429:39:   required from here
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note:   429 | TORCH_API int register_conv_params<2>();
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note:       |                                       ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/conv_serialization.h:316:11: warning: unused variable ‘groups’ [-Wunused-variable]
  316 |   int64_t groups = config_vals.at(idx);
      |           ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/conv_serialization.h:326:8: warning: unused variable ‘transpose’ [-Wunused-variable]
  326 |   bool transpose = flags & (1 << 0);
      |        ^~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/conv_serialization.h: In instantiation of ‘c10::intrusive_ptr<ConvPackedParamsBase<kSpatialDim> > deserialize_conv(ConvParamsSerializationTypeV3) [with unsigned int kSpatialDim = 3; ConvParamsSerializationTypeV3 = std::tuple<long int, std::vector<long int, std::allocator<long int> >, std::vector<std::optional<at::Tensor>, std::allocator<std::optional<at::Tensor> > > >]’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:410:47:   required from ‘int register_conv_params() [with int kSpatialDim = 3]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/conv_serialization.h:326:8: warning:   410 |           return deserialize_conv<kSpatialDim>(state);
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/conv_serialization.h:326:8: warning:       |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:431:39:   required from here
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/conv_serialization.h:326:8: warning:   431 | TORCH_API int register_conv_params<3>();
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/conv_serialization.h:326:8: warning:       |                                       ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/conv_serialization.h:316:11: warning: unused variable ‘groups’ [-Wunused-variable]
  316 |   int64_t groups = config_vals.at(idx);
      |           ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/conv_serialization.h:326:8: warning: unused variable ‘transpose’ [-Wunused-variable]
  326 |   bool transpose = flags & (1 << 0);
      |        ^~~~~~~~~
[1094/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/fused_obs_fake_quant.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/_fake_quantize_per_tensor_affine_cachemask_tensor_qparams.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/fused_obs_fake_quant.cpp:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1095/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/init_qnnpack.cpp.o
[1096/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qclamp.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qclamp.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1097/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qconv.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qconv.cpp:20:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1098/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv_dynamic.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qconv_dynamic.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qconv_dynamic.cpp:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1099/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv_prepack.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qconv_prepack.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qconv_prepack.cpp:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1100/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv_unpack_impl.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qconv_unpack_impl.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qconv_unpack_impl.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1101/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qdropout.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qdropout.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qdropout.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1102/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qelu.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qelu.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qelu.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1103/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qembeddingbag.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/EmbeddingPackedParams.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qembeddingbag.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qembeddingbag.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1104/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qembeddingbag_prepack.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/EmbeddingPackedParams.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qembeddingbag_prepack.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qembeddingbag_prepack.cpp:11:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1105/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qembeddingbag_unpack.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/EmbeddingPackedParams.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qembeddingbag_unpack.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qembeddingbag_unpack.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1106/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qgelu.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qgelu.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1107/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qhardsigmoid.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qhardsigmoid.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1108/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qhardswish.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qhardswish.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1109/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qlinear.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qlinear.cpp:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1110/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear_dynamic.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/PackedParams.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/fbgemm_utils.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qlinear_dynamic.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qlinear_dynamic.cpp:11:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1111/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear_prepack.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/PackedParams.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/fbgemm_utils.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qlinear_prepack.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qlinear_prepack.cpp:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1112/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qmatmul.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qmatmul.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qmatmul.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1113/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qmul.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qmul.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qmul.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1114/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qnormalization.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qnormalization.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qnormalization.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1115/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qrelu.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qrelu.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qrelu.cpp:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1116/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qsigmoid.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qsigmoid.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1117/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qsoftmax.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qsoftmax.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qsoftmax.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1118/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qtanh.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qtanh.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1119/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qthreshold.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/qthreshold.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1120/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/library.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/library.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1121/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/qconv_unpack.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/qconv_unpack.cpp:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/qconv_unpack.cpp:16:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1122/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/qlinear_unpack.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/qlinear_unpack.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/qlinear_unpack.cpp:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1123/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/LinearAlgebra.cpp.o
[1124/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SparseBlasImpl.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/LinearAlgebraUtils.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkl/SparseBlasImpl.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1125/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SparseCsrLinearAlgebra.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/SparseTensorImpl.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/SparseCsrTensorUtils.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkl/SparseCsrLinearAlgebra.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkl/SparseCsrLinearAlgebra.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1126/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SpectralOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ResizeCommon.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Resize.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkl/SpectralOps.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1127/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/BinaryOps.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/BinaryOps.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1128/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Conv.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/Conv.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1129/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/ConvPrepack.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/Common.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/ConvPrepack.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1130/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Copy.cpp.o
[1131/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Gelu.cpp.o
[1132/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/IDeepRegistration.cpp.o
[1133/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Linear.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/Linear.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1134/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MKLDNNCommon.cpp.o
[1135/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MKLDNNConversions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/Utils.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/MKLDNNConversions.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/MKLDNNConversions.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1136/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Matmul.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/LinearAlgebraUtils.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/Matmul.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/Matmul.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1137/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MkldnnTensorMath.cpp.o
[1138/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Normalization.cpp.o
[1139/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/OpContext.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/OpContext.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/OpContext.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1140/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Pooling.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ResizeCommon.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Resize.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/Pooling.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1141/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Prelu.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/Prelu.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1142/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/RNN.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/RNN.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/RNN.cpp:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1143/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/RegisterMkldnnOpContextClass.cpp.o
[1144/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Relu.cpp.o
[1145/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/SoftMax.cpp.o
[1146/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/TensorFactories.cpp.o
[1147/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/TensorShape.cpp.o
[1148/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/UnaryOps.cpp.o
[1149/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Utils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/Utils.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/mkldnn/Utils.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1150/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/transformers/attention.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty_like.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorOperators.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/transformers/attention.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1151/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/transformers/sdp_utils_cpp.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorSubclassLikeUtils.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/transformers/sdp_utils_cpp.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/transformers/sdp_utils_cpp.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1152/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/transformers/transformer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/transformers/transformer.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1153/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/utils/Factory.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/utils/Factory.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1154/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Activation.cpp.o
[1155/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/AveragePooling.cpp.o
[1156/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/ChannelShuffle.cpp.o
[1157/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Convolution.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/xnnpack/OpContext.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/xnnpack/Convolution.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/xnnpack/Convolution.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1158/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Init.cpp.o
[1159/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Linear.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/xnnpack/OpContext.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/xnnpack/Linear.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/xnnpack/Linear.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1160/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/MaxPooling.cpp.o
[1161/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/OpContext.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/xnnpack/OpContext.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/xnnpack/Convolution.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/xnnpack/OpContext.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1162/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/RegisterOpContextClass.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/xnnpack/RegisterOpContextClass.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1163/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Shim.cpp.o
[1164/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CompositeViewCopyKernels.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ResizeCommon.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Resize.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/CompositeViewCopyKernels.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1165/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Functions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/Functions.h:60,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/Functions.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1166/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_0.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/Operators_0.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1167/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_1.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/Operators_1.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1168/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/Operators_2.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1169/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_3.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/Operators_3.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1170/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_4.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/Operators_4.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1171/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterBackendSelect.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterBackendSelect.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1172/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCPU.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterCPU.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterCPU.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1173/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeExplicitAutograd.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterCompositeExplicitAutograd.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterCompositeExplicitAutograd.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1174/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeExplicitAutogradNonFunctional.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterCompositeExplicitAutogradNonFunctional.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterCompositeExplicitAutogradNonFunctional.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1175/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeImplicitAutograd.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterCompositeImplicitAutograd.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterCompositeImplicitAutograd.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1176/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeImplicitAutogradNestedTensor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterCompositeImplicitAutogradNestedTensor.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterCompositeImplicitAutogradNestedTensor.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1177/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_0.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterFunctionalization_0.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1178/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_1.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterFunctionalization_1.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1179/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterFunctionalization_2.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1180/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_3.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterFunctionalization_3.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1181/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterMeta.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterMeta.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterMeta.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1182/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterMkldnnCPU.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterMkldnnCPU.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterMkldnnCPU.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1183/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterNestedTensorCPU.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterNestedTensorCPU.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterNestedTensorCPU.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1184/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterNestedTensorMeta.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterNestedTensorMeta.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterNestedTensorMeta.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1185/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterQuantizedCPU.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterQuantizedCPU.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterQuantizedCPU.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1186/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterQuantizedMeta.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterQuantizedMeta.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterQuantizedMeta.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1187/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSchema.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterSchema.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1188/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseCPU.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterSparseCPU.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterSparseCPU.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1189/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseCsrCPU.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterSparseCsrCPU.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterSparseCsrCPU.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1190/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseCsrMeta.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterSparseCsrMeta.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterSparseCsrMeta.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1191/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseMeta.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterSparseMeta.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterSparseMeta.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1192/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterZeroTensor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterZeroTensor.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RegisterZeroTensor.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1193/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPU_add.cpp.o
[1194/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenOpList.cpp.o
[1195/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/TensorMethods.cpp.o
[1196/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/quantized/QTensorImpl.cpp.o
[1197/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/quantized/Quantizer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/quantized/Quantizer.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1198/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_bind.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/nnapi/nnapi_bind.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/nnapi/nnapi_bind.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/nnapi/nnapi_bind.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1199/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_model_loader.cpp.o
[1200/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_register.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/nnapi/nnapi_bind.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/nnapi/nnapi_register.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/nnapi/nnapi_bind.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1201/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_wrapper.cpp.o
[1202/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPUKernel_add.cpp.DEFAULT.cpp.o
[1203/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1204/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.DEFAULT.cpp.o
[1205/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.DEFAULT.cpp.o
[1206/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.DEFAULT.cpp.o
[1207/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/layer_norm_kernel.cpp:19,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1208/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/int8mm_kernel.cpp.DEFAULT.cpp.o
[1209/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/int4mm_kernel.cpp.DEFAULT.cpp.o
[1210/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/group_norm_kernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/group_norm_kernel.cpp:21,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/group_norm_kernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1211/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/batch_norm_kernel.cpp:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1212/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/airy_ai.cpp.DEFAULT.cpp.o
[1213/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/WeightNormKernel.cpp.DEFAULT.cpp.o
[1214/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.DEFAULT.cpp.o
[1215/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleKernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/UpSampleKernel.cpp:16,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/UpSampleKernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1216/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/arange.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/UnfoldBackward.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1217/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Unfold2d.cpp.DEFAULT.cpp.o
[1218/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.DEFAULT.cpp.o
[1219/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/TensorCompareKernel.cpp:16,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1220/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SumKernel.cpp.DEFAULT.cpp.o
[1221/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/StackKernel.cpp.DEFAULT.cpp.o
[1222/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1223/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SparseFactories.cpp.DEFAULT.cpp.o
[1224/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SortingKernel.cpp.DEFAULT.cpp.o
[1225/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.DEFAULT.cpp.o
[1226/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorAdvancedIndexing.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1227/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1228/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RenormKernel.cpp.DEFAULT.cpp.o
[1229/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ResizeCommon.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Resize.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1230/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ResizeCommon.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Resize.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ReduceOpsUtils.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1231/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.DEFAULT.cpp.o
[1232/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PowKernel.cpp.DEFAULT.cpp.o
[1233/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.DEFAULT.cpp.o
[1234/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.DEFAULT.cpp.o
[1235/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PaddingKernel.cpp.DEFAULT.cpp.o
[1236/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/NativeMultiheadAttnKernel.cpp.DEFAULT.cpp.o
[1237/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MultinomialKernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/MultinomialKernel.cpp:15,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/MultinomialKernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1238/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.DEFAULT.cpp.o
[1239/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPooling.cpp.DEFAULT.cpp.o
[1240/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.DEFAULT.cpp.o
[1241/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.DEFAULT.cpp.o
[1242/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LerpKernel.cpp.DEFAULT.cpp.o
[1243/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/IndexKernel.cpp.DEFAULT.cpp.o
[1244/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/HistogramKernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/aminmax.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/HistogramKernel.cpp:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/HistogramKernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1245/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.DEFAULT.cpp.o
[1246/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.DEFAULT.cpp.o
[1247/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FlashAttentionKernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorSubclassLikeUtils.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/transformers/sdp_utils_cpp.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/FlashAttentionKernel.cpp:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/FlashAttentionKernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1248/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FillKernel.cpp.DEFAULT.cpp.o
[1249/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistributionKernels.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/DistributionKernels.cpp:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/DistributionKernels.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1250/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.DEFAULT.cpp.o
[1251/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1252/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CrossKernel.cpp.DEFAULT.cpp.o
[1253/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CopyKernel.cpp.DEFAULT.cpp.o
[1254/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ComplexKernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/ComplexKernel.cpp:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/ComplexKernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1255/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.DEFAULT.cpp.o
[1256/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CatKernel.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/CatKernel.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/CatKernel.cpp:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/CatKernel.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1257/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BlasKernel.cpp.DEFAULT.cpp.o
[1258/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.DEFAULT.cpp.o
[1259/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.DEFAULT.cpp.o
[1260/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AmpGradScalerKernels.cpp.DEFAULT.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/AmpGradScalerKernels.cpp:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/AmpGradScalerKernels.cpp.DEFAULT.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1261/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.DEFAULT.cpp.o
[1262/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.DEFAULT.cpp.o
[1263/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.DEFAULT.cpp.o
[1264/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/vulkan/Context.cpp.o
[1265/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/metal/Context.cpp.o
[1266/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/allocator.cc.o
[1267/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/blob_serialization.cc.o
[1268/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/blob_stats.cc.o
[1269/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/common.cc.o
[1270/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/context.cc.o
[1271/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/context_base.cc.o
[1272/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/db.cc.o
[1273/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/event.cc.o
[1274/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/export_c10_op_to_caffe2.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_c10_op_to_caffe2.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_c10_op_to_caffe2.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_c10_op_to_caffe2.h:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1275/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/graph.cc.o
[1276/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/init.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/init.cc:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1277/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/init_denormals.cc.o
[1278/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/init_intrinsics_check.cc.o
[1279/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/init_omp.cc.o
[1280/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/int8_serialization.cc.o
[1281/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/memonger.cc.o
[1282/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/module.cc.o
[1283/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net.cc:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1284/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_async_base.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_async_tracing.h:22,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_async_base.cc:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1285/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_async_scheduling.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_async_tracing.h:22,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_async_scheduling.cc:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1286/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_async_task.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_async_task.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_async_task.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1287/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_async_task_future.cc.o
[1288/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_async_task_graph.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_async_task.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_async_task_graph.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_async_task_graph.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1289/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_async_tracing.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_async_tracing.h:22,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_async_tracing.cc:17:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1290/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_dag_utils.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_dag_utils.cc:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1291/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_parallel.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_async_task.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_async_task_graph.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_parallel.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_parallel.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1292/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_simple.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_simple.cc:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1293/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_simple_refcount.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/net_simple_refcount.cc:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1294/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/numa.cc.o
[1295/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/operator.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_c10_op_to_caffe2.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.cc:22:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1296/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/operator_schema.cc.o
[1297/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/plan_executor.cc.o
[1298/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/prof_dag_counters.cc.o
[1299/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/qtensor.cc.o
[1300/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/qtensor_serialization.cc.o
[1301/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/stats.cc.o
[1302/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/tensor.cc.o
[1303/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/tensor_int8.cc.o
[1304/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/test_utils.cc.o
[1305/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/transform.cc.o
[1306/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/types.cc.o
[1307/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/workspace.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/workspace.cc:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1308/2465] Building C object caffe2/CMakeFiles/torch_cpu.dir/__/third_party/miniz-2.1.0/miniz.c.o
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/third_party/miniz-2.1.0/miniz.c:3157:9: note: ‘#pragma message: Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.’
 3157 | #pragma message("Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.")
      |         ^~~~~~~
[1309/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/serialize/inline_container.cc.o
[1310/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/serialize/istream_adapter.cc.o
[1311/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/serialize/file_adapter.cc.o
[1312/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/serialize/crc.cc.o
[1313/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/serialize/read_adapter_interface.cc.o
[1314/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/bench_utils.cc.o
[1315/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/cpuid.cc.o
[1316/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/math/broadcast.cc.o
[1317/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/math/elementwise.cc.o
[1318/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/math/reduce.cc.o
[1319/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/math/transpose.cc.o
[1320/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/math/utils.cc.o
[1321/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/math_cpu.cc.o
[1322/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/murmur_hash3.cc.o
[1323/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/proto_utils.cc.o
[1324/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/proto_wrap.cc.o
[1325/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/threadpool/ThreadPool.cc.o
[1326/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/signal_handler.cc.o
[1327/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/smart_tensor_printer.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/utils/smart_tensor_printer.cc:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1328/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/string_utils.cc.o
[1329/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/threadpool/pthreadpool-cpp.cc.o
[1330/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/threadpool/thread_pool_guard.cpp.o
[1331/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/adagrad.cc.o
[1332/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/batch_box_cox.cc.o
[1333/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/embedding_lookup.cc.o
[1334/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/embedding_lookup_idx.cc.o
[1335/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/fused_8bit_rowwise_embedding_lookup.cc.o
[1336/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/fused_8bit_rowwise_embedding_lookup_idx.cc.o
[1337/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/fused_nbit_rowwise_conversion.cc.o
[1338/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/lstm_unit_cpu_common.cc.o
[1339/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/math_cpu_base.cc.o
[1340/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/typed_axpy.cc.o
[1341/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/contrib/aten/aten_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/Functions.h:60,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/caffe2/contrib/aten/aten_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/contrib/aten/aten_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1342/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/predictor/predictor.cc.o
[1343/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/predictor/predictor_utils.cc.o
[1344/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/predictor/predictor_config.cc.o
[1345/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/predictor/emulator/data_filler.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/predictor/emulator/data_filler.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/predictor/emulator/data_filler.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1346/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/nomnigraph/Representations/NeuralNet.cc.o
[1347/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/nomnigraph/tests/test_util.cc.o
[1348/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/db/create_db_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/db/create_db_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/db/create_db_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1349/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/db/protodb.cc.o
[1350/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/distributed/file_store_handler.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/distributed/file_store_handler_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/distributed/file_store_handler.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1351/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/distributed/file_store_handler_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/distributed/file_store_handler_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/distributed/file_store_handler_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1352/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/distributed/store_handler.cc.o
[1353/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/distributed/store_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/distributed/store_ops.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/distributed/store_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1354/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/image/image_input_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/prefetch_op.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:15,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h: In instantiation of ‘caffe2::ImageInputOp<Context>::ImageInputOp(const caffe2::OperatorDef&, caffe2::Workspace*) [with Context = caffe2::CPUContext]’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/c10/util/Registry.h:188:26:   required from ‘static ObjectPtrType c10::Registerer<SrcType, ObjectPtrType, Args>::DefaultCreator(Args ...) [with DerivedType = caffe2::ImageInputOp<caffe2::CPUContext>; SrcType = std::__cxx11::basic_string<char>; ObjectPtrType = std::unique_ptr<caffe2::OperatorBase>; Args = {const caffe2::OperatorDef&, caffe2::Workspace*}]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note:   188 |     return ObjectPtrType(new DerivedType(args...));
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note:       |                          ^~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.cc:17:1:   required from here
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note:   261 |       ::c10::demangle_type<__VA_ARGS__>());
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note:       |                                          ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:391:19: warning: unused variable ‘i’ [-Wunused-variable]
  391 |   for (const auto i : c10::irange(num_decode_threads_)) {
      |                   ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:410:19: warning: unused variable ‘i’ [-Wunused-variable]
  410 |   for (const auto i : c10::irange(additional_output_sizes_.size())) {
      |                   ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h: In instantiation of ‘bool caffe2::ImageInputOp<Context>::GetImageAndLabelAndInfoFromDBValue(const std::string&, cv::Mat*, PerImageArg&, int, std::mt19937*) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string<char>; std::mt19937 = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>]’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1135:3:   required from ‘void caffe2::ImageInputOp<Context>::DecodeAndTransposeOnly(const std::string&, uint8_t*, int, int, std::size_t) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string<char>; uint8_t = unsigned char; std::size_t = long unsigned int]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:410:19: warning:  1136 |       GetImageAndLabelAndInfoFromDBValue(value, &img, info, item_id, randgen));
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:410:19: warning:       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1227:11:   required from ‘bool caffe2::ImageInputOp<Context>::Prefetch() [with Context = caffe2::CPUContext]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:410:19: warning:  1227 |           &ImageInputOp<Context>::DecodeAndTransposeOnly,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:410:19: warning:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1151:6:   required from here
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:410:19: warning:  1151 | bool ImageInputOp<Context>::Prefetch() {
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:410:19: warning:       |      ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:508:29: warning: unused variable ‘w’ [-Wunused-variable]
  508 |             for (const auto w : c10::irange(datum.width())) {
      |                             ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:507:27: warning: unused variable ‘h’ [-Wunused-variable]
  507 |           for (const auto h : c10::irange(datum.height())) {
      |                           ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h: In instantiation of ‘bool caffe2::RandomSizedCropping(cv::Mat*, int, std::mt19937*) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>]’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:742:39:   required from ‘bool caffe2::ImageInputOp<Context>::GetImageAndLabelAndInfoFromDBValue(const std::string&, cv::Mat*, PerImageArg&, int, std::mt19937*) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string<char>; std::mt19937 = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:507:27: warning:   742 |           RandomSizedCropping<Context>(img, crop_, randgen);
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:507:27: warning:       |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1135:3:   required from ‘void caffe2::ImageInputOp<Context>::DecodeAndTransposeOnly(const std::string&, uint8_t*, int, int, std::size_t) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string<char>; uint8_t = unsigned char; std::size_t = long unsigned int]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:507:27: warning:  1136 |       GetImageAndLabelAndInfoFromDBValue(value, &img, info, item_id, randgen));
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:507:27: warning:       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1227:11:   required from ‘bool caffe2::ImageInputOp<Context>::Prefetch() [with Context = caffe2::CPUContext]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:507:27: warning:  1227 |           &ImageInputOp<Context>::DecodeAndTransposeOnly,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:507:27: warning:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1151:6:   required from here
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:507:27: warning:  1151 | bool ImageInputOp<Context>::Prefetch() {
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:507:27: warning:       |      ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning: unused variable ‘i’ [-Wunused-variable]
  427 |   for (const auto i : c10::irange(10)) {
      |                   ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h: In instantiation of ‘void caffe2::ColorLighting(float*, int, float, const std::vector<std::vector<float> >&, const std::vector<float>&, std::mt19937*) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>]’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1013:27:   required from ‘void caffe2::TransformImage(const cv::Mat&, int, float*, bool, float, float, float, bool, float, const std::vector<std::vector<float> >&, const std::vector<float>&, int, bool, const std::vector<float>&, const std::vector<float>&, std::mt19937*, std::bernoulli_distribution*, bool) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:  1013 |     ColorLighting<Context>(
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |     ~~~~~~~~~~~~~~~~~~~~~~^
    1014 |         image_data,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |         ~~~~~~~~~~~        
    1015 |         crop,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |         ~~~~~              
    1016 |         color_lighting_std,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |         ~~~~~~~~~~~~~~~~~~~
    1017 |         color_lighting_eigvecs,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |         ~~~~~~~~~~~~~~~~~~~~~~~
    1018 |         color_lighting_eigvals,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |         ~~~~~~~~~~~~~~~~~~~~~~~
    1019 |         randgen);
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |         ~~~~~~~~           
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1099:26:   required from ‘void caffe2::ImageInputOp<Context>::DecodeAndTransform(const std::string&, float*, int, int, std::size_t) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string<char>; std::size_t = long unsigned int]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:  1099 |   TransformImage<Context>(
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |   ~~~~~~~~~~~~~~~~~~~~~~~^
    1100 |       img,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~                
    1101 |       channels,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~~~~~           
    1102 |       image_data,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~~~~~~~         
    1103 |       color_jitter_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~~~~~~~~~~      
    1104 |       img_saturation_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~~~~~~~~~~~~    
    1105 |       img_brightness_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~~~~~~~~~~~~    
    1106 |       img_contrast_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~~~~~~~~~~      
    1107 |       color_lighting_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~~~~~~~~~~~~    
    1108 |       color_lighting_std_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~~~~~~~~~~~~~~~~
    1109 |       color_lighting_eigvecs_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~~~~~~~~~~~~~~~~~~~~
    1110 |       color_lighting_eigvals_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~~~~~~~~~~~~~~~~~~~~
    1111 |       crop_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~~              
    1112 |       mirror_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~~~~            
    1113 |       mean_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~~              
    1114 |       std_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~               
    1115 |       randgen,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~~~~            
    1116 |       &mirror_this_image,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~~~~~~~~~~~~~~~ 
    1117 |       is_test_);
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |       ~~~~~~~~~           
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1238:11:   required from ‘bool caffe2::ImageInputOp<Context>::Prefetch() [with Context = caffe2::CPUContext]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:  1238 |           &ImageInputOp<Context>::DecodeAndTransform,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1151:6:   required from here
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:  1151 | bool ImageInputOp<Context>::Prefetch() {
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:427:19: warning:       |      ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:919:21: warning: unused variable ‘w’ [-Wunused-variable]
  919 |     for (const auto w : c10::irange(img_size)) {
      |                     ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning: unused variable ‘h’ [-Wunused-variable]
  918 |   for (const auto h : c10::irange(img_size)) {
      |                   ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h: In instantiation of ‘void caffe2::ColorNormalization(float*, int, int, const std::vector<float>&, const std::vector<float>&) [with Context = CPUContext]’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1024:30:   required from ‘void caffe2::TransformImage(const cv::Mat&, int, float*, bool, float, float, float, bool, float, const std::vector<std::vector<float> >&, const std::vector<float>&, int, bool, const std::vector<float>&, const std::vector<float>&, std::mt19937*, std::bernoulli_distribution*, bool) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:  1024 |   ColorNormalization<Context>(image_data, crop, channels, mean, std);
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1099:26:   required from ‘void caffe2::ImageInputOp<Context>::DecodeAndTransform(const std::string&, float*, int, int, std::size_t) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string<char>; std::size_t = long unsigned int]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:  1099 |   TransformImage<Context>(
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |   ~~~~~~~~~~~~~~~~~~~~~~~^
    1100 |       img,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~                
    1101 |       channels,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~~~~~           
    1102 |       image_data,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~~~~~~~         
    1103 |       color_jitter_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~~~~~~~~~~      
    1104 |       img_saturation_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~~~~~~~~~~~~    
    1105 |       img_brightness_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~~~~~~~~~~~~    
    1106 |       img_contrast_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~~~~~~~~~~      
    1107 |       color_lighting_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~~~~~~~~~~~~    
    1108 |       color_lighting_std_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~~~~~~~~~~~~~~~~
    1109 |       color_lighting_eigvecs_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~~~~~~~~~~~~~~~~~~~~
    1110 |       color_lighting_eigvals_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~~~~~~~~~~~~~~~~~~~~
    1111 |       crop_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~~              
    1112 |       mirror_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~~~~            
    1113 |       mean_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~~              
    1114 |       std_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~               
    1115 |       randgen,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~~~~            
    1116 |       &mirror_this_image,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~~~~~~~~~~~~~~~ 
    1117 |       is_test_);
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |       ~~~~~~~~~           
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1238:11:   required from ‘bool caffe2::ImageInputOp<Context>::Prefetch() [with Context = caffe2::CPUContext]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:  1238 |           &ImageInputOp<Context>::DecodeAndTransform,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1151:6:   required from here
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:  1151 | bool ImageInputOp<Context>::Prefetch() {
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:918:19: warning:       |      ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:938:21: warning: unused variable ‘w’ [-Wunused-variable]
  938 |     for (const auto w : c10::irange(img_size)) {
      |                     ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning: unused variable ‘h’ [-Wunused-variable]
  937 |   for (const auto h : c10::irange(img_size)) {
      |                   ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h: In instantiation of ‘void caffe2::Saturation(float*, int, float, std::mt19937*) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>]’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:886:26:   required from ‘void caffe2::ColorJitter(float*, int, float, float, float, std::mt19937*) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:   886 |       Saturation<Context>(img, img_size, saturation, randgen);
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1009:25:   required from ‘void caffe2::TransformImage(const cv::Mat&, int, float*, bool, float, float, float, bool, float, const std::vector<std::vector<float> >&, const std::vector<float>&, int, bool, const std::vector<float>&, const std::vector<float>&, std::mt19937*, std::bernoulli_distribution*, bool) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:  1009 |     ColorJitter<Context>(
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |     ~~~~~~~~~~~~~~~~~~~~^
    1010 |         image_data, crop, saturation, brightness, contrast, randgen);
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1099:26:   required from ‘void caffe2::ImageInputOp<Context>::DecodeAndTransform(const std::string&, float*, int, int, std::size_t) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string<char>; std::size_t = long unsigned int]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:  1099 |   TransformImage<Context>(
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |   ~~~~~~~~~~~~~~~~~~~~~~~^
    1100 |       img,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~                
    1101 |       channels,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~~~~           
    1102 |       image_data,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~~~~~~         
    1103 |       color_jitter_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~~~~~~~~~      
    1104 |       img_saturation_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~~~~~~~~~~~    
    1105 |       img_brightness_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~~~~~~~~~~~    
    1106 |       img_contrast_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~~~~~~~~~      
    1107 |       color_lighting_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~~~~~~~~~~~    
    1108 |       color_lighting_std_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~~~~~~~~~~~~~~~
    1109 |       color_lighting_eigvecs_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~~~~~~~~~~~~~~~~~~~
    1110 |       color_lighting_eigvals_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~~~~~~~~~~~~~~~~~~~
    1111 |       crop_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~              
    1112 |       mirror_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~~~            
    1113 |       mean_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~              
    1114 |       std_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~               
    1115 |       randgen,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~~~            
    1116 |       &mirror_this_image,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~~~~~~~~~~~~~~ 
    1117 |       is_test_);
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |       ~~~~~~~~~           
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1238:11:   required from ‘bool caffe2::ImageInputOp<Context>::Prefetch() [with Context = caffe2::CPUContext]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:  1238 |           &ImageInputOp<Context>::DecodeAndTransform,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1151:6:   required from here
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:  1151 | bool ImageInputOp<Context>::Prefetch() {
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:937:19: warning:       |      ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:804:21: warning: unused variable ‘w’ [-Wunused-variable]
  804 |     for (const auto w : c10::irange(img_size)) {
      |                     ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning: unused variable ‘h’ [-Wunused-variable]
  803 |   for (const auto h : c10::irange(img_size)) {
      |                   ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h: In instantiation of ‘void caffe2::Brightness(float*, int, float, std::mt19937*) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>]’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:888:26:   required from ‘void caffe2::ColorJitter(float*, int, float, float, float, std::mt19937*) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:   888 |       Brightness<Context>(img, img_size, brightness, randgen);
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1009:25:   required from ‘void caffe2::TransformImage(const cv::Mat&, int, float*, bool, float, float, float, bool, float, const std::vector<std::vector<float> >&, const std::vector<float>&, int, bool, const std::vector<float>&, const std::vector<float>&, std::mt19937*, std::bernoulli_distribution*, bool) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:  1009 |     ColorJitter<Context>(
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |     ~~~~~~~~~~~~~~~~~~~~^
    1010 |         image_data, crop, saturation, brightness, contrast, randgen);
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1099:26:   required from ‘void caffe2::ImageInputOp<Context>::DecodeAndTransform(const std::string&, float*, int, int, std::size_t) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string<char>; std::size_t = long unsigned int]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:  1099 |   TransformImage<Context>(
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |   ~~~~~~~~~~~~~~~~~~~~~~~^
    1100 |       img,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~                
    1101 |       channels,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~~~~           
    1102 |       image_data,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~~~~~~         
    1103 |       color_jitter_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~~~~~~~~~      
    1104 |       img_saturation_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~~~~~~~~~~~    
    1105 |       img_brightness_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~~~~~~~~~~~    
    1106 |       img_contrast_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~~~~~~~~~      
    1107 |       color_lighting_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~~~~~~~~~~~    
    1108 |       color_lighting_std_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~~~~~~~~~~~~~~~
    1109 |       color_lighting_eigvecs_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~~~~~~~~~~~~~~~~~~~
    1110 |       color_lighting_eigvals_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~~~~~~~~~~~~~~~~~~~
    1111 |       crop_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~              
    1112 |       mirror_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~~~            
    1113 |       mean_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~              
    1114 |       std_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~               
    1115 |       randgen,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~~~            
    1116 |       &mirror_this_image,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~~~~~~~~~~~~~~ 
    1117 |       is_test_);
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |       ~~~~~~~~~           
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1238:11:   required from ‘bool caffe2::ImageInputOp<Context>::Prefetch() [with Context = caffe2::CPUContext]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:  1238 |           &ImageInputOp<Context>::DecodeAndTransform,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1151:6:   required from here
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:  1151 | bool ImageInputOp<Context>::Prefetch() {
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:803:19: warning:       |      ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:827:23: warning: unused variable ‘c’ [-Wunused-variable]
  827 |       for (const auto c : c10::irange(3)) {
      |                       ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:826:21: warning: unused variable ‘w’ [-Wunused-variable]
  826 |     for (const auto w : c10::irange(img_size)) {
      |                     ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning: unused variable ‘h’ [-Wunused-variable]
  825 |   for (const auto h : c10::irange(img_size)) {
      |                   ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h: In instantiation of ‘void caffe2::Contrast(float*, int, float, std::mt19937*) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>]’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:890:24:   required from ‘void caffe2::ColorJitter(float*, int, float, float, float, std::mt19937*) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:   890 |       Contrast<Context>(img, img_size, contrast, randgen);
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1009:25:   required from ‘void caffe2::TransformImage(const cv::Mat&, int, float*, bool, float, float, float, bool, float, const std::vector<std::vector<float> >&, const std::vector<float>&, int, bool, const std::vector<float>&, const std::vector<float>&, std::mt19937*, std::bernoulli_distribution*, bool) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine<long unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:  1009 |     ColorJitter<Context>(
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |     ~~~~~~~~~~~~~~~~~~~~^
    1010 |         image_data, crop, saturation, brightness, contrast, randgen);
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1099:26:   required from ‘void caffe2::ImageInputOp<Context>::DecodeAndTransform(const std::string&, float*, int, int, std::size_t) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string<char>; std::size_t = long unsigned int]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:  1099 |   TransformImage<Context>(
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |   ~~~~~~~~~~~~~~~~~~~~~~~^
    1100 |       img,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~                
    1101 |       channels,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~~~~           
    1102 |       image_data,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~~~~~~         
    1103 |       color_jitter_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~~~~~~~~~      
    1104 |       img_saturation_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~~~~~~~~~~~    
    1105 |       img_brightness_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~~~~~~~~~~~    
    1106 |       img_contrast_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~~~~~~~~~      
    1107 |       color_lighting_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~~~~~~~~~~~    
    1108 |       color_lighting_std_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~~~~~~~~~~~~~~~
    1109 |       color_lighting_eigvecs_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~~~~~~~~~~~~~~~~~~~
    1110 |       color_lighting_eigvals_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~~~~~~~~~~~~~~~~~~~
    1111 |       crop_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~              
    1112 |       mirror_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~~~            
    1113 |       mean_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~              
    1114 |       std_,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~               
    1115 |       randgen,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~~~            
    1116 |       &mirror_this_image,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~~~~~~~~~~~~~~ 
    1117 |       is_test_);
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |       ~~~~~~~~~           
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1238:11:   required from ‘bool caffe2::ImageInputOp<Context>::Prefetch() [with Context = caffe2::CPUContext]’
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:  1238 |           &ImageInputOp<Context>::DecodeAndTransform,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:1151:6:   required from here
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:  1151 | bool ImageInputOp<Context>::Prefetch() {
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |      ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:844:21: warning: unused variable ‘w’ [-Wunused-variable]
  844 |     for (const auto w : c10::irange(img_size)) {
      |                     ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:843:19: warning: unused variable ‘h’ [-Wunused-variable]
  843 |   for (const auto h : c10::irange(img_size)) {
      |                   ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:858:23: warning: unused variable ‘c’ [-Wunused-variable]
  858 |       for (const auto c : c10::irange(3)) {
      |                       ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:857:21: warning: unused variable ‘w’ [-Wunused-variable]
  857 |     for (const auto w : c10::irange(img_size)) {
      |                     ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:856:19: warning: unused variable ‘h’ [-Wunused-variable]
  856 |   for (const auto h : c10::irange(img_size)) {
      |                   ^
[1355/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/observers/profile_observer.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/observers/profile_observer.h:25,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/observers/profile_observer.cc:17:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1356/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/observers/time_observer.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/observers/time_observer.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/observers/time_observer.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1357/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/observers/runcnt_observer.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/observers/runcnt_observer.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/observers/runcnt_observer.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1358/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/onnx/backend.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/onnx/backend.cc:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1359/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/onnx/backend_rep.cc.o
[1360/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/onnx/device.cc.o
[1361/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/onnx/helper.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/onnx/helper.cc:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1362/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/onnx/offline_tensor.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/onnx/offline_tensor.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/onnx/offline_tensor.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1363/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/onnx/onnx_exporter.cc.o
[1364/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/onnx/onnxifi_graph_info.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/shape_info.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/onnx/onnxifi_graph_info.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/onnx/onnxifi_graph_info.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1365/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/onnx/onnxifi_init.cc.o
[1366/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/abs_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/abs_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/abs_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1367/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/accumulate_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/accumulate_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/accumulate_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1368/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/accuracy_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/accuracy_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/accuracy_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1369/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/acos_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/acos_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/acos_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1370/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/affine_channel_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/affine_channel_op.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/affine_channel_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1371/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/alias_with_name.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/alias_with_name.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/alias_with_name.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1372/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/apmeter_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/apmeter_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/apmeter_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1373/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/arg_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/arg_ops.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/arg_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1374/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/asin_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/asin_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/asin_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1375/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/assert_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/assert_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/assert_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1376/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/async_net_barrier_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/async_net_barrier_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/async_net_barrier_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1377/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/atan_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/atan_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/atan_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1378/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/atomic_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/atomic_ops.cc:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1379/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/batch_box_cox_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/batch_box_cox_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/batch_box_cox_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1380/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/batch_bucketize_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/batch_bucketize_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/batch_bucketize_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1381/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/batch_gather_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/batch_gather_ops.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/batch_gather_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1382/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/batch_matmul_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/batch_matmul_op.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/batch_matmul_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1383/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/batch_moments_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/batch_moments_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/batch_moments_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1384/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/batch_permutation_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/batch_permutation_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/batch_permutation_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1385/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/batch_sparse_to_dense_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/batch_sparse_to_dense_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/batch_sparse_to_dense_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1386/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/bbox_transform_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/bbox_transform_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/bbox_transform_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1387/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/bisect_percentile_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/bisect_percentile_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/bisect_percentile_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1388/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/boolean_mask_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/boolean_mask_ops.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/boolean_mask_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1389/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/boolean_unmask_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/boolean_unmask_ops.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/boolean_unmask_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1390/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/box_with_nms_limit_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/box_with_nms_limit_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/box_with_nms_limit_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1391/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/bucketize_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/bucketize_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/bucketize_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1392/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/byte_weight_dequant_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/byte_weight_dequant_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/byte_weight_dequant_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1393/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/cast_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/cast_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/cast_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1394/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/cbrt_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/cbrt_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/cbrt_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1395/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/cc_bmm_bg_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/cc_bmm_bg_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/cc_bmm_bg_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1396/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/ceil_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/ceil_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/ceil_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1397/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/channel_backprop_stats_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/channel_backprop_stats_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/channel_backprop_stats_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1398/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/channel_shuffle_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/channel_shuffle_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/channel_shuffle_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1399/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/channel_stats_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/channel_stats_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/channel_stats_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1400/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/clip_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/clip_op.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/clip_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1401/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/collect_and_distribute_fpn_rpn_proposals_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/collect_and_distribute_fpn_rpn_proposals_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/collect_and_distribute_fpn_rpn_proposals_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1402/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/communicator_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/communicator_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1403/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/concat_split_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/concat_split_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/concat_split_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1404/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/conditional_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/conditional_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/conditional_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1405/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/conv_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/conv_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/conv_gradient_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1406/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/conv_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/conv_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/conv_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1407/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/conv_op_eigen.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/conv_op_eigen.cc:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1408/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/conv_op_shared.cc.o
[1409/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/conv_transpose_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/conv_transpose_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/conv_transpose_gradient_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1410/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/conv_transpose_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/conv_transpose_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/conv_transpose_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1411/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/conv_transpose_op_mobile.cc.o
[1412/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/copy_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/copy_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/copy_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1413/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/copy_rows_to_tensor_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/copy_rows_to_tensor_op.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/copy_rows_to_tensor_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1414/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/cos_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/cos_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/cos_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1415/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/cosh_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/cosh_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/cosh_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1416/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/cosine_embedding_criterion_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/cosine_embedding_criterion_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/cosine_embedding_criterion_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1417/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/counter_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/counter_ops.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/counter_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1418/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/crash_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/crash_op.cc:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1419/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/create_scope_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/create_scope_op.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/create_scope_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1420/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/crf_viterbi_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/crf_viterbi_op.cc:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1421/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/cross_entropy_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/cross_entropy_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/cross_entropy_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1422/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/ctc_beam_search_decoder_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/ctc_beam_search_decoder_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/ctc_beam_search_decoder_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1423/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/ctc_greedy_decoder_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/ctc_greedy_decoder_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/ctc_greedy_decoder_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1424/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/cube_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/cube_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/cube_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1425/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/data_couple.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/data_couple.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/data_couple.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1426/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/dataset_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/dataset_ops.cc:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1427/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/deform_conv_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/conv_pool_op_base.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/deform_conv_gradient_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1428/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/deform_conv_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/deform_conv_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/deform_conv_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1429/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/dense_vector_to_id_list_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/dense_vector_to_id_list_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/dense_vector_to_id_list_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1430/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/distance_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/distance_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/distance_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1431/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/do_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/do_op.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/do_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1432/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/dropout_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/dropout_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/dropout_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1433/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_add_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_add_op.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_add_gradient_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1434/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_add_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_add_op.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_add_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1435/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_div_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_div_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_div_gradient_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1436/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_div_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_div_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_div_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1437/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_linear_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_linear_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_linear_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1438/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_logical_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_logical_ops.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_logical_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1439/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_mul_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_mul_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_mul_gradient_op.cc:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1440/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_mul_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_mul_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_mul_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1441/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1442/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_ops_schema.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops_schema.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1443/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_ops_utils.cc.o
[1444/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_sub_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_sub_op.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_sub_gradient_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1445/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_sub_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_sub_op.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_sub_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1446/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_sum_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/utility_ops.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_sum_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1447/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elu_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elu_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elu_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1448/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/enforce_finite_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/enforce_finite_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/enforce_finite_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1449/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/ensure_clipped_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/ensure_clipped_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/ensure_clipped_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1450/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/ensure_cpu_output_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/ensure_cpu_output_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/ensure_cpu_output_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1451/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/erf_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/erf_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/erf_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1452/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/exp_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/exp_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/exp_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1453/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/expand_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/expand_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/expand_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1454/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/expand_squeeze_dims_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/expand_squeeze_dims_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/expand_squeeze_dims_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1455/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/fc_inference.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/fc_inference.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/fc_inference.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1456/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/feature_maps_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/feature_maps_ops.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/feature_maps_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1457/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/feed_blob_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/feed_blob_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/feed_blob_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1458/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/filler_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/filler_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/filler_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1459/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/find_duplicate_elements_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/find_duplicate_elements_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/find_duplicate_elements_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1460/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/find_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/find_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/find_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1461/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/flatten_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/flatten_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/flatten_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1462/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/flexible_top_k.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/flexible_top_k.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/flexible_top_k.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1463/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/floor_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/floor_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/floor_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1464/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/free_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/free_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/free_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1465/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/fully_connected_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/fully_connected_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/fully_connected_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1466/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/fused_rowwise_8bit_conversion_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/fused_rowwise_8bit_conversion_ops.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/fused_rowwise_8bit_conversion_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1467/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/fused_rowwise_nbit_conversion_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/fused_rowwise_nbit_conversion_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/fused_rowwise_nbit_conversion_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1468/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/fused_rowwise_nbitfake_conversion_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/fused_rowwise_nbitfake_conversion_ops.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/fused_rowwise_nbitfake_conversion_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1469/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/fused_rowwise_random_quantization_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/fused_rowwise_random_quantization_ops.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/fused_rowwise_random_quantization_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1470/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/gather_fused_8bit_rowwise_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/gather_fused_8bit_rowwise_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/gather_fused_8bit_rowwise_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1471/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/gather_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/gather_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/gather_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1472/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/gather_ranges_to_dense_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/gather_ranges_to_dense_op.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/gather_ranges_to_dense_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1473/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/gelu_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/gelu_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/gelu_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1474/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/generate_proposals_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/generate_proposals_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/generate_proposals_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1475/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/given_tensor_byte_string_to_uint8_fill_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/given_tensor_byte_string_to_uint8_fill_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/given_tensor_byte_string_to_uint8_fill_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1476/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/given_tensor_fill_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/given_tensor_fill_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/given_tensor_fill_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1477/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/glu_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/glu_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/glu_op.cc:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1478/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/group_norm_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/group_norm_op.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/group_norm_op.cc:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1479/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/gru_unit_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/gru_unit_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/gru_unit_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1480/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/h_softmax_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/h_softmax_op.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/h_softmax_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1481/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/half_float_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/half_float_ops.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/half_float_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1482/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/hard_sigmoid_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/hard_sigmoid_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/hard_sigmoid_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1483/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/heatmap_max_keypoint_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/heatmap_max_keypoint_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/heatmap_max_keypoint_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1484/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/histogram_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/histogram_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/histogram_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1485/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/if_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/if_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/if_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1486/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/im2col_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/im2col_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/im2col_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1487/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/index_hash_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/index_hash_ops.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/index_hash_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1488/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/index_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/index_ops.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/index_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1489/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/inference_lstm_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/inference_lstm_op.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/inference_lstm_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1490/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/instance_norm_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/instance_norm_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/instance_norm_gradient_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1491/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/instance_norm_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/instance_norm_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/instance_norm_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1492/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/integral_image_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/integral_image_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/integral_image_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1493/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/is_empty_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/is_empty_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/is_empty_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1494/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/jsd_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/jsd_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/jsd_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1495/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/key_split_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/key_split_ops.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/key_split_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1496/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/last_n_window_collector.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/last_n_window_collector.cc:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1497/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/layer_norm_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/layer_norm_op.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/layer_norm_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1498/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/leaky_relu_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/leaky_relu_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/leaky_relu_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1499/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/length_split_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/length_split_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/length_split_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1500/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lengths_pad_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_pad_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_pad_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1501/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lengths_reducer_fused_8bit_rowwise_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_reducer_fused_8bit_rowwise_ops.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_reducer_fused_8bit_rowwise_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/fused_rowwise_8bit_conversion_ops.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_reducer_fused_8bit_rowwise_ops.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1502/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lengths_reducer_fused_nbit_rowwise_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_reducer_fused_nbit_rowwise_ops.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_reducer_fused_nbit_rowwise_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_reducer_fused_nbit_rowwise_ops.cc:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1503/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lengths_reducer_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_reducer_ops.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_reducer_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/segment_reduction_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_reducer_ops.cc:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1504/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lengths_reducer_rowwise_8bit_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_reducer_rowwise_8bit_ops.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_reducer_rowwise_8bit_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1505/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lengths_tile_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_tile_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_tile_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1506/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lengths_top_k_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_top_k_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lengths_top_k_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1507/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/listwise_l2r_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/listwise_l2r_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/listwise_l2r_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1508/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/load_save_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/load_save_op.h:15,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/load_save_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1509/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/load_save_op_util.cc.o
[1510/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/local_response_normalization_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/local_response_normalization_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/local_response_normalization_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1511/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/locally_connected_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/locally_connected_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/locally_connected_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1512/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/locally_connected_op_util.cc.o
[1513/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/log1p_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/log1p_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/log1p_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1514/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/log_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/log_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/log_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1515/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/logit_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/logit_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/logit_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1516/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/loss_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/loss_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/loss_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/utility_ops.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/loss_op.h:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1517/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lp_pool_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/pool_op.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lp_pool_op.cc:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1518/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lpnorm_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lpnorm_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lpnorm_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1519/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lstm_unit_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lstm_unit_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/lstm_unit_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1520/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/map_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/map_ops.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/map_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1521/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/margin_loss_l2r_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/margin_loss_l2r_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/margin_loss_l2r_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1522/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/margin_ranking_criterion_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/margin_ranking_criterion_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/margin_ranking_criterion_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1523/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/matmul_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/matmul_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/matmul_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1524/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/mean_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/mean_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/mean_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1525/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/merge_id_lists_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/merge_id_lists_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/merge_id_lists_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/merge_id_lists_op.h:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1526/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/minmax_gradient_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/minmax_ops.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/minmax_gradient_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1527/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/minmax_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/minmax_ops.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/minmax_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1528/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/mish_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/mish_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/mish_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1529/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/mod_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/mod_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/mod_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1530/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/moments_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/moments_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/moments_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1531/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/multi_class_accuracy_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/multi_class_accuracy_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/multi_class_accuracy_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1532/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/negate_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/negate_gradient_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/negate_gradient_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1533/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/negative_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/negative_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/negative_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1534/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/ngram_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/ngram_ops.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/ngram_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1535/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/norm_planar_yuv_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/norm_planar_yuv_op.cc:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1536/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/normalize_l1_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/normalize_l1_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/normalize_l1_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1537/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/normalize_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/normalize_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/normalize_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1538/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/numpy_tile_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/numpy_tile_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/numpy_tile_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1539/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/one_hot_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/one_hot_ops.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/one_hot_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1540/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/onnx_while_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/onnx_while_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/onnx_while_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1541/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/order_switch_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/order_switch_ops.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/order_switch_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1542/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/pack_rnn_sequence_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/pack_rnn_sequence_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/pack_rnn_sequence_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1543/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/pack_segments.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/pack_segments.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/pack_segments.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1544/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/pad_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/pad_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/pad_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1545/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/partition_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/partition_ops.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/partition_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1546/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/percentile_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/percentile_op.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/percentile_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1547/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/perplexity_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/perplexity_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/perplexity_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1548/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/piecewise_linear_transform_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/piecewise_linear_transform_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/piecewise_linear_transform_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1549/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/pool_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/pool_op.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/pool_gradient_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1550/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/pool_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/pool_op.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/pool_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1551/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/pool_op_util.cc.o
[1552/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/pow_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/pow_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/pow_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1553/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/prelu_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/prelu_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/prelu_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1554/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/prepend_dim_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/prepend_dim_op.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/prepend_dim_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1555/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/quant_decode_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/quant_decode_op.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/quant_decode_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1556/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/quantile_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/quantile_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/quantile_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1557/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/rank_loss_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/rank_loss_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/rank_loss_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1558/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reciprocal_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reciprocal_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reciprocal_gradient_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1559/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reciprocal_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reciprocal_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reciprocal_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1560/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reduce_front_back_max_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reduce_front_back_max_ops.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reduce_front_back_max_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1561/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reduce_front_back_mean_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reduce_front_back_sum_mean_ops.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reduce_front_back_mean_ops.cc:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1562/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reduce_front_back_sum_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reduce_front_back_sum_mean_ops.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reduce_front_back_sum_ops.cc:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1563/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reduce_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reduce_ops.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reduce_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1564/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reduction_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reduction_ops.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reduction_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1565/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/relu_n_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/relu_n_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/relu_n_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1566/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/relu_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/relu_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/relu_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1567/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/remove_data_blocks_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/remove_data_blocks_op.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/remove_data_blocks_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1568/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/replace_nan_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/replace_nan_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/replace_nan_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1569/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reservoir_sampling.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reservoir_sampling.cc:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1570/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reshape_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reshape_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reshape_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1571/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/resize_3d_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/resize_3d_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/resize_3d_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1572/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/resize_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/resize_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/resize_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1573/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reverse_packed_segs_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reverse_packed_segs_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/reverse_packed_segs_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1574/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/rmac_regions_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/rmac_regions_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/rmac_regions_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1575/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/rms_norm_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/rms_norm_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/rms_norm_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1576/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/roi_align_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/roi_align_gradient_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/roi_align_gradient_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1577/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/roi_align_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/roi_align_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/roi_align_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1578/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/roi_align_rotated_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/roi_align_rotated_gradient_op.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/roi_align_rotated_gradient_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1579/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/roi_align_rotated_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/roi_align_rotated_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/roi_align_rotated_op.cc:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1580/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/roi_pool_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/roi_pool_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/roi_pool_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1581/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/rowmul_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/rowmul_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/rowmul_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1582/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/rsqrt_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/rsqrt_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/rsqrt_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1583/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/scale_blobs_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/scale_blobs_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/scale_blobs_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1584/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/scale_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/scale_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/scale_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1585/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/segment_reduction_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/segment_reduction_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/segment_reduction_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1586/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/self_binning_histogram_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/self_binning_histogram_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/self_binning_histogram_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1587/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/selu_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/selu_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/selu_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1588/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sequence_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sequence_ops.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sequence_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1589/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/shape_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/shape_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/shape_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1590/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sigmoid_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sigmoid_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sigmoid_gradient_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1591/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sigmoid_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sigmoid_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sigmoid_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1592/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sin_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sin_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sin_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1593/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sinh_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sinh_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sinh_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1594/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sinusoid_position_encoding_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sinusoid_position_encoding_op.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sinusoid_position_encoding_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1595/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/slice_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/slice_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/slice_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1596/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/softmax_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/softmax_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/softmax_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1597/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/softmax_utils.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/softmax_utils.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/softmax_utils.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1598/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/softmax_with_loss_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/softmax_with_loss_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/softmax_with_loss_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1599/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/softplus_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/softplus_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/softplus_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1600/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/softsign_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/softsign_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/softsign_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1601/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/space_batch_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/space_batch_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/space_batch_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1602/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sparse_dropout_with_replacement_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sparse_dropout_with_replacement_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sparse_dropout_with_replacement_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1603/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sparse_itemwise_dropout_with_replacement_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sparse_itemwise_dropout_with_replacement_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sparse_itemwise_dropout_with_replacement_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1604/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sparse_lp_regularizer_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sparse_lp_regularizer_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sparse_lp_regularizer_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1605/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sparse_normalize_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sparse_normalize_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sparse_normalize_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1606/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sparse_to_dense_mask_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sparse_to_dense_mask_op.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sparse_to_dense_mask_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1607/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sparse_to_dense_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sparse_to_dense_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sparse_to_dense_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1608/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/spatial_batch_norm_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/spatial_batch_norm_op.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/spatial_batch_norm_gradient_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1609/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/spatial_batch_norm_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/spatial_batch_norm_op.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/spatial_batch_norm_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1610/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/spatial_softmax_with_loss_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/spatial_softmax_with_loss_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/spatial_softmax_with_loss_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1611/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sqr_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sqr_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sqr_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1612/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sqrt_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sqrt_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/sqrt_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1613/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/square_root_divide_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/square_root_divide_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/square_root_divide_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1614/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/stats_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/stats_ops.cc:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1615/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/stats_put_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/stats_put_ops.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/stats_put_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1616/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/stop_gradient.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/stop_gradient.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/stop_gradient.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1617/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/string_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/string_ops.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/string_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1618/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/stump_func_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/stump_func_op.h:22,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/stump_func_op.cc:17:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1619/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/stylizer_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/stylizer_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1620/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/summarize_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/summarize_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/summarize_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1621/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/swish_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/swish_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/swish_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1622/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/tan_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/tan_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/tan_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1623/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/tanh_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/tanh_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/tanh_gradient_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1624/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/tanh_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/elementwise_ops.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/tanh_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/tanh_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1625/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/tensor_protos_db_input.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/prefetch_op.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/tensor_protos_db_input.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/tensor_protos_db_input.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1626/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/text_file_reader.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/text_file_reader.cc:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1627/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/text_file_reader_utils.cc.o
[1628/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/thresholded_relu_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/thresholded_relu_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/thresholded_relu_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1629/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/tile_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/tile_op.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/tile_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1630/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/top_k.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/top_k.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/top_k.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1631/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/transpose_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/transpose_op.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/transpose_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1632/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/tt_linear_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/tt_linear_op.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/tt_linear_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1633/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/unique_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/unique_ops.h:24,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/unique_ops.cc:17:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1634/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/unsafe_coalesce.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/unsafe_coalesce.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/unsafe_coalesce.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1635/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/upsample_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/upsample_op.h:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/upsample_op.cc:17:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1636/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/utility_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/utility_ops.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/utility_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1637/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/variable_length_sequence_padding.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/variable_length_sequence_padding.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/variable_length_sequence_padding.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1638/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/weighted_multi_sampling_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/weighted_multi_sampling_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/weighted_multi_sampling_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1639/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/weighted_sample_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/weighted_sample_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/weighted_sample_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1640/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/while_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/while_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/while_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1641/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/workspace_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/workspace_ops.cc:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1642/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/zero_gradient_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/zero_gradient_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/zero_gradient_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1643/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/rnn/recurrent_network_blob_fetcher_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/rnn/recurrent_network_blob_fetcher_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/rnn/recurrent_network_blob_fetcher_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1644/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/rnn/recurrent_network_executor.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/rnn/recurrent_network_executor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/rnn/recurrent_network_executor.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1645/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/rnn/recurrent_network_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/rnn/recurrent_network_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/rnn/recurrent_network_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1646/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/annotations.cc.o
[1647/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/backend_cutting.cc.o
[1648/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/backend_transformer_base.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/shape_info.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/bound_shape_inferencer.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/backend_transformer_base.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/backend_transformer_base.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1649/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/bound_shape_inferencer.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/shape_info.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/bound_shape_inferencer.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/bound_shape_inferencer.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1650/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/converter.cc.o
[1651/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/dead_code_elim.cc.o
[1652/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/device.cc.o
[1653/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/distributed.cc.o
[1654/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/distributed_converter.cc.o
[1655/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/fakefp16_transform.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/shape_info.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/glow_net_transform.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/fakefp16_transform.cc:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1656/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/fusion.cc.o
[1657/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/glow_net_transform.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/shape_info.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/glow_net_transform.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/glow_net_transform.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1658/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/mobile.cc.o
[1659/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/onnxifi_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/onnxifi_op.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/onnxifi_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1660/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/onnxifi_transformer.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/onnxifi_transformer.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/onnxifi_transformer.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1661/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/optimize_ideep.cc.o
[1662/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/optimizer.cc.o
[1663/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/passes.cc.o
[1664/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/shape_info.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/shape_info.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/shape_info.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1665/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/tvm_transformer.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/shape_info.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/bound_shape_inferencer.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/backend_transformer_base.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/tvm_transformer.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/opt/tvm_transformer.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1666/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/queue/blobs_queue.cc.o
[1667/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/queue/blobs_queue_db.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/queue/blobs_queue_db.cc:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1668/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/queue/queue_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/queue/queue_ops.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/queue/queue_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1669/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/queue/rebatching_queue.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/queue/rebatching_queue.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/queue/rebatching_queue.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1670/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/queue/rebatching_queue_ops.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/queue/rebatching_queue.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/queue/rebatching_queue_ops.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/queue/rebatching_queue_ops.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1671/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/adadelta_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/adadelta_op.h:1,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/adadelta_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1672/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/adagrad_fused.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/adagrad_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/adagrad_fused.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/adagrad_fused.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1673/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/adagrad_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/adagrad_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/adagrad_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1674/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/adam_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/adam_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/adam_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1675/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/clip_tensor_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/clip_tensor_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/clip_tensor_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1676/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/decay_adagrad_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/decay_adagrad_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/decay_adagrad_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1677/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/ftrl_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/ftrl_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/ftrl_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1678/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/gftrl_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/gftrl_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/gftrl_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1679/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/iter_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/iter_op.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/iter_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1680/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/lars_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/lars_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/lars_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1681/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/learning_rate_adaption_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/learning_rate_adaption_op.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/learning_rate_adaption_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1682/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/learning_rate_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/learning_rate_op.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/learning_rate_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/export_caffe2_op_to_c10.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1683/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/math_lp.cc.o
[1684/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/momentum_sgd_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/momentum_sgd_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/momentum_sgd_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1685/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/rmsprop_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/rmsprop_op.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/rmsprop_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1686/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/rowwise_adagrad_fused.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/rowwise_adagrad_fused.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/rowwise_adagrad_fused.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1687/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/rowwise_counter.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/rowwise_counter.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/rowwise_counter.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1688/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/storm_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/storm_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/storm_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1689/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/weight_scale_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/weight_scale_op.h:19,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/weight_scale_op.cc:17:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1690/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/wngrad_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/wngrad_op.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/wngrad_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1691/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/yellowfin_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/yellowfin_op.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/sgd/yellowfin_op.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1692/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/share/contrib/depthwise/depthwise3x3_conv_op.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/operators/conv_op.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/share/contrib/depthwise/depthwise3x3_conv_op.cc:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1693/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/transforms/common_subexpression_elimination.cc.o
[1694/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/transforms/conv_to_nnpack_transform.cc.o
[1695/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/transforms/pattern_net_transform.cc.o
[1696/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/transforms/single_op_transform.cc.o
[1697/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/Functions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/FunctionsManual.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/Functions.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/Functions.cpp: In member function ‘virtual torch::autograd::variable_list torch::autograd::generated::ConvDepthwise2DBackward0::apply(torch::autograd::variable_list&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/Functions.cpp:14382:68: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=]
14382 |     auto grad_result = grad.defined() ? convolution_backward_symint(grad.contiguous(), self, weight, bias_sym_sizes_opt, stride, padding, dilation, /*transposed=*/ false, /*output_padding=*/ {{0, 0}}, /*groups=*/ 1, grad_input_mask) : std::tuple<Tensor, Tensor, Tensor>();
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/Functions.cpp:14382:68: note: unnamed temporary defined here
14382 |     auto grad_result = grad.defined() ? convolution_backward_symint(grad.contiguous(), self, weight, bias_sym_sizes_opt, stride, padding, dilation, /*transposed=*/ false, /*output_padding=*/ {{0, 0}}, /*groups=*/ 1, grad_input_mask) : std::tuple<Tensor, Tensor, Tensor>();
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/Functions.cpp: In member function ‘virtual torch::autograd::variable_list torch::autograd::generated::ConvDepthwise3DBackward0::apply(torch::autograd::variable_list&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/Functions.cpp:14436:68: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=]
14436 |     auto grad_result = grad.defined() ? convolution_backward_symint(grad.contiguous(), self, weight, bias_sym_sizes_opt, stride, padding, dilation, /*transposed=*/ false, /*output_padding=*/ {{0, 0, 0}}, /*groups=*/ 1, grad_input_mask) : std::tuple<Tensor, Tensor, Tensor>();
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/Functions.cpp:14436:68: note: unnamed temporary defined here
14436 |     auto grad_result = grad.defined() ? convolution_backward_symint(grad.contiguous(), self, weight, bias_sym_sizes_opt, stride, padding, dilation, /*transposed=*/ false, /*output_padding=*/ {{0, 0, 0}}, /*groups=*/ 1, grad_input_mask) : std::tuple<Tensor, Tensor, Tensor>();
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/Functions.cpp: In member function ‘virtual torch::autograd::variable_list torch::autograd::generated::SlowConv3DBackward0::apply(torch::autograd::variable_list&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/Functions.cpp:14490:68: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=]
14490 |     auto grad_result = grad.defined() ? convolution_backward_symint(grad, self, weight, bias_sym_sizes_opt, stride, padding, /*dilation=*/ {{1, 1, 1}}, false, /*output_padding=*/ {{0, 0, 0}}, 1, grad_input_mask) : std::tuple<Tensor, Tensor, Tensor>();
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/Functions.cpp:14490:68: note: unnamed temporary defined here
14490 |     auto grad_result = grad.defined() ? convolution_backward_symint(grad, self, weight, bias_sym_sizes_opt, stride, padding, /*dilation=*/ {{1, 1, 1}}, false, /*output_padding=*/ {{0, 0, 0}}, 1, grad_input_mask) : std::tuple<Tensor, Tensor, Tensor>();
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/Functions.cpp:14490:68: warning: dangling pointer to an unnamed temporary may be used [-Wdangling-pointer=]
14490 |     auto grad_result = grad.defined() ? convolution_backward_symint(grad, self, weight, bias_sym_sizes_opt, stride, padding, /*dilation=*/ {{1, 1, 1}}, false, /*output_padding=*/ {{0, 0, 0}}, 1, grad_input_mask) : std::tuple<Tensor, Tensor, Tensor>();
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/Functions.cpp:14490:68: note: unnamed temporary defined here
14490 |     auto grad_result = grad.defined() ? convolution_backward_symint(grad, self, weight, bias_sym_sizes_opt, stride, padding, /*dilation=*/ {{1, 1, 1}}, false, /*output_padding=*/ {{0, 0, 0}}, 1, grad_input_mask) : std::tuple<Tensor, Tensor, Tensor>();
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[1698/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/ViewFuncs.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/ViewFuncs.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/ViewFuncs.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1699/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_0.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeUtils.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType_0.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeUtils.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1700/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_1.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeUtils.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType_1.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeUtils.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1701/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeUtils.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType_2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeUtils.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1702/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_3.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeUtils.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType_3.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeUtils.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1703/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_4.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeUtils.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType_4.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeUtils.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1704/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_0.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/class_type.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tracer.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/TraceType_0.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/TraceType_0.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1705/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_1.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/class_type.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tracer.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/TraceType_1.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/TraceType_1.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1706/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/class_type.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tracer.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/TraceType_2.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/TraceType_2.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1707/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_3.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/class_type.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tracer.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/TraceType_3.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/TraceType_3.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1708/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_4.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/class_type.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tracer.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/TraceType_4.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/TraceType_4.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1709/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/ADInplaceOrViewType_0.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeUtils.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/ADInplaceOrViewType_0.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeUtils.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1710/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/ADInplaceOrViewType_1.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeUtils.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/ADInplaceOrViewType_1.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeUtils.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1711/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/inductor/aoti_torch/generated/c_shim_cpu.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/inductor/aoti_torch/utils.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/inductor/aoti_torch/generated/c_shim_cpu.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1712/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/LazyNativeFunctions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/tensor.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/generated/LazyNativeFunctions.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_device.h: In function ‘std::optional<torch::lazy::BackendDevice> torch::lazy::GetBackendDevice(const T&, const Args& ...) [with T = std::optional<c10::SymInt>; Args = {}]’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_device.h:89:30: warning: infinite recursion detected [-Winfinite-recursion]
   89 | c10::optional<BackendDevice> GetBackendDevice(
      |                              ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_device.h:92:8: note: recursive call
   92 |   auto optional_device = GetBackendDevice(tensor);
      |        ^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_device.h: In function ‘std::optional<torch::lazy::BackendDevice> torch::lazy::GetBackendDevice(const T&, const Args& ...) [with T = std::optional<at::Tensor>; Args = {}]’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_device.h:89:30: warning: infinite recursion detected [-Winfinite-recursion]
   89 | c10::optional<BackendDevice> GetBackendDevice(
      |                              ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_device.h:92:8: note: recursive call
   92 |   auto optional_device = GetBackendDevice(tensor);
      |        ^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_device.h: In function ‘std::optional<torch::lazy::BackendDevice> torch::lazy::GetBackendDevice(const T&, const Args& ...) [with T = c10::SymInt; Args = {}]’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_device.h:89:30: warning: infinite recursion detected [-Winfinite-recursion]
   89 | c10::optional<BackendDevice> GetBackendDevice(
      |                              ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_device.h:92:8: note: recursive call
   92 |   auto optional_device = GetBackendDevice(tensor);
      |        ^~~~~~~~~~~~~~~
[1713/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/RegisterAutogradLazy.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/generated/RegisterAutogradLazy.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/generated/RegisterAutogradLazy.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1714/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/RegisterLazy.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/generated/RegisterLazy.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/generated/RegisterLazy.cpp:47:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1715/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/anomaly_mode.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/graph_task.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/function.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/anomaly_mode.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1716/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1717/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd_meta.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd_meta.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1718/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd_not_implemented_fallback.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd_not_implemented_fallback.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd_not_implemented_fallback.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1719/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/cpp_hook.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/custom_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/cpp_hook.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1720/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/custom_function.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/custom_function.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1721/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/engine.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/engine.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/engine.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1722/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/forward_grad.cpp.o
[1723/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/function.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/graph_task.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/function.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/function.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1724/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/accumulate_grad.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/CachedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/functions/accumulate_grad.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/functions/accumulate_grad.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/functions/accumulate_grad.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1725/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/basic_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/graph_task.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/function.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/functions/basic_ops.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/functions/basic_ops.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1726/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/tensor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/graph_task.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/function.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/functions/tensor.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/functions/tensor.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1727/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/utils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/functions/utils.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/functions/utils.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1728/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/input_buffer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/input_buffer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/input_buffer.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1729/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/input_metadata.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/input_metadata.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/input_metadata.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1730/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/jit_decomp_interface.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/jit_decomp_interface.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/jit_decomp_interface.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1731/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/profiler_kineto.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/orchestration/observer.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/api.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/profiler_kineto.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/profiler_kineto.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1732/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/profiler_legacy.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/orchestration/observer.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/api.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/profiler_legacy.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/profiler_legacy.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/profiler_legacy.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1733/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/record_function_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/record_function_ops.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/record_function_ops.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/record_function_ops.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1734/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/saved_variable.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/engine.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/saved_variable.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1735/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/utils/warnings.cpp.o
[1736/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/variable.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/ViewFuncs.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.cpp:11:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1737/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/variable_info.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/zeros.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable_info.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1738/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/inductor/aoti_runner/model_container_runner.cpp.o
[1739/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/inductor/aoti_runner/model_container_runner_cpu.cpp.o
[1740/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/inductor/aoti_torch/shim_common.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/inductor/aoti_torch/proxy_executor.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/inductor/aoti_torch/shim_common.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1741/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/inductor/aoti_torch/tensor_converter.cpp.o
[1742/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/inductor/inductor_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/mm.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/inductor/inductor_ops.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/inductor/inductor_ops.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1743/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/function_impl.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1744/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/module.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1745/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/object.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1746/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_debug_handler.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_debug_handler.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_debug_handler.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_detail.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_debug_handler.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1747/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_debug_info.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_debug_handler.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_debug_info.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_debug_info.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_detail.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_debug_handler.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1748/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_detail.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_detail.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_detail.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1749/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_interface.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/builtin_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_interface.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_interface.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1750/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_resolver.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/sugared_value.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/resolver.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_resolver.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_resolver.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1751/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/codegen.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/arg_spec.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/codegen.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/codegen.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/codegen.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1752/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/compiler.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/compiler.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/compiler.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/interface.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/compiler.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1753/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/executor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/executor.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/executor.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/interface.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/kernel_spec.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/executor.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1754/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/fallback.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/fallback.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/fallback.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/interface.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/kernel_spec.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/kernel_cache.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/fallback.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1755/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/interface.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/interface.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/interface.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/interface.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1756/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/kernel_cache.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/kernel_spec.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/kernel_cache.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/kernel_cache.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/interface.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/kernel_spec.h:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1757/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/builtin_functions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/builtin_functions.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/builtin_functions.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1758/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/canonicalize_modified_loop.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/canonicalize_modified_loop.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1759/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/convert_to_ssa.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/convert_to_ssa.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/convert_to_ssa.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/convert_to_ssa.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1760/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/edit_distance.cpp.o
[1761/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/exit_transforms.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/exit_transforms.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/exit_transforms.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1762/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/inline_loop_condition.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/inline_loop_condition.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/inline_loop_condition.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1763/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/ir_emitter.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp: In member function ‘std::vector<c10::Argument> torch::jit::to_ir::emitFormalArguments(const torch::jit::Def&, const torch::jit::Self*, const c10::FunctionSchema&, torch::jit::Block*)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp:853:19: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  853 |       const auto& name = (*it).ident().name();
      |                   ^~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp:853:44: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Param::ident() const().torch::jit::Ident::name()’
  853 |       const auto& name = (*it).ident().name();
      |                          ~~~~~~~~~~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp:871:13: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  871 |       auto& name = (*it).ident().name();
      |             ^~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp:871:38: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Param::ident() const().torch::jit::Ident::name()’
  871 |       auto& name = (*it).ident().name();
      |                    ~~~~~~~~~~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp: In member function ‘void torch::jit::to_ir::emitDelete(const torch::jit::Delete&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp:1013:28: warning: possibly dangling reference to a temporary [-Wdangling-reference]
 1013 |         const SourceRange& val_range = subscript.value().range();
      |                            ^~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp:1013:63: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Subscript::value() const().torch::jit::Expr::torch::jit::TreeView.torch::jit::TreeView::range()’
 1013 |         const SourceRange& val_range = subscript.value().range();
      |                                        ~~~~~~~~~~~~~~~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp: In member function ‘torch::jit::RefinementSet torch::jit::to_ir::findIsNoneRefinements(const torch::jit::Expr&, torch::jit::Value*, const torch::jit::Expr&, torch::jit::Value*, int)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp:1181:24: warning: possibly dangling reference to a temporary [-Wdangling-reference]
 1181 |     const std::string& name = Var(lhs).name().name();
      |                        ^~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp:1181:51: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Var::name() const().torch::jit::Ident::name()’
 1181 |     const std::string& name = Var(lhs).name().name();
      |                               ~~~~~~~~~~~~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp: In member function ‘torch::jit::CondValue torch::jit::to_ir::emitHasAttr(const torch::jit::Expr&, const torch::jit::Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp:2146:24: warning: possibly dangling reference to a temporary [-Wdangling-reference]
 2146 |     const std::string& name = StringLiteral(attrExpr).text();
      |                        ^~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp:2146:59: note: the temporary was destroyed at the end of the full expression ‘torch::jit::StringLiteral(torch::jit::TreeView::operator torch::jit::TreeRef() const()).torch::jit::StringLiteral::text()’
 2146 |     const std::string& name = StringLiteral(attrExpr).text();
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp: In member function ‘std::shared_ptr<torch::jit::SugaredValue> torch::jit::to_ir::emitApplySpecialForm(c10::Symbol, torch::jit::Apply&, std::shared_ptr<torch::jit::SugaredValue>, const c10::TypePtr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp:3457:28: warning: possibly dangling reference to a temporary [-Wdangling-reference]
 3457 |         const std::string& name = StringLiteral(selector).text();
      |                            ^~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp:3457:63: note: the temporary was destroyed at the end of the full expression ‘torch::jit::StringLiteral(torch::jit::TreeView::operator torch::jit::TreeRef() const()).torch::jit::StringLiteral::text()’
 3457 |         const std::string& name = StringLiteral(selector).text();
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp: In member function ‘std::shared_ptr<torch::jit::SugaredValue> torch::jit::to_ir::emitSubscript(const torch::jit::Subscript&, c10::TypePtr)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp:5213:24: warning: possibly dangling reference to a temporary [-Wdangling-reference]
 5213 |     const SourceRange& val_range = subscript.value().range();
      |                        ^~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.cpp:5213:59: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Subscript::value() const().torch::jit::Expr::torch::jit::TreeView.torch::jit::TreeView::range()’
 5213 |     const SourceRange& val_range = subscript.value().range();
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~^~
[1764/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/name_mangler.cpp.o
[1765/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/parser.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/parser.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/parser.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1766/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/schema_matching.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/schema_matching.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/schema_matching.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1767/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/script_type_parser.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/sugared_value.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/resolver.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.cpp: In member function ‘std::optional<std::pair<c10::Type::SingletonOrSharedTypePtr<c10::Type>, int> > torch::jit::ScriptTypeParser::parseBroadcastList(const torch::jit::Expr&) const’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.cpp:126:11: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  126 |     auto& name = var.name().name();
      |           ^~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.cpp:126:33: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Var::name() const().torch::jit::Ident::name()’
  126 |     auto& name = var.name().name();
      |                  ~~~~~~~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.cpp: In member function ‘std::optional<std::__cxx11::basic_string<char> > torch::jit::ScriptTypeParser::parseBaseTypeName(const torch::jit::Expr&) const’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.cpp:208:26: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  208 |       const std::string& name = select.selector().name();
      |                          ^~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.cpp:208:55: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Select::selector() const().torch::jit::Ident::name()’
  208 |       const std::string& name = select.selector().name();
      |                                 ~~~~~~~~~~~~~~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.cpp: In member function ‘c10::TypePtr torch::jit::ScriptTypeParser::parseTypeFromExprImpl(const torch::jit::Expr&) const’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.cpp:264:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  264 |     const auto& type_name = StringLiteral(expr).text();
      |                 ^~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.cpp:264:53: note: the temporary was destroyed at the end of the full expression ‘torch::jit::StringLiteral(torch::jit::TreeView::operator torch::jit::TreeRef() const()).torch::jit::StringLiteral::text()’
  264 |     const auto& type_name = StringLiteral(expr).text();
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~^~
[1768/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/sugared_value.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/sugared_value.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/sugared_value.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/sugared_value.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1769/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/tracer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/class_type.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tracer.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tracer.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tracer.cpp:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1770/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/versioned_symbols.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/versioned_symbols.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/versioned_symbols.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1771/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/alias_analysis.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/alias_analysis.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/alias_analysis.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1772/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/attributes.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/attributes.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1773/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/constants.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/constants.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/constants.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/constants.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_ops_utils.h:23,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/constants.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1774/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/graph_utils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/graph_utils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/graph_utils.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1775/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/ir.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1776/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/irparser.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/irparser.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1777/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/node_hashing.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/node_hashing.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1778/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/scope.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/class_type.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/scope.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1779/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/subgraph_matcher.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/subgraph_matcher.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/subgraph_matcher.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1780/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/type_hashing.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/type_hashing.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/type_hashing.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1781/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/jit_log.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/jit_log.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/jit_log.cpp:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1782/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/jit_opt_limit.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/jit_opt_limit.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/jit_opt_limit.cpp:11:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1783/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/model_compatibility.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/compatibility/model_compatibility.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/compatibility/model_compatibility.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import_read.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/compatibility/model_compatibility.cpp:11:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1784/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/runtime_compatibility.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/compatibility/runtime_compatibility.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1785/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/flatbuffer_loader.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/flatbuffer_loader.cpp:15:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/debug_info.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/flatbuffer_loader.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/flatbuffer_loader.cpp:26:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import_read.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/flatbuffer_loader.cpp:36:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1786/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/function.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/function.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/function.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/function.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1787/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/import.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/debug_info.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/import.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/import.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import_read.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/import.cpp:24:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1788/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/interpreter.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/code.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/interpreter.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/interpreter.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1789/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/module.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/debug_info.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/module.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1790/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/aot_compiler.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/nnc/aot_compiler.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/nnc/aot_compiler.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1791/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/backend.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/builtin_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/nnc/backend.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_interface.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend.h:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1792/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/context.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/nnc/context.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/nnc/context.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/nnc/context.cpp: In constructor ‘torch::jit::mobile::nnc::Function::Function(const c10::IValue&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/nnc/context.cpp:137:53: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  137 |        dict.at("input_specs").toTupleRef().elements()) {
      |                                                     ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/nnc/context.cpp:137:52: note: the temporary was destroyed at the end of the full expression ‘(& c10::Dict<Key, Value>::at(const Key&) const [with Key = c10::IValue; Value = c10::IValue](c10::IValue(((const char*)"input_specs"))).c10::IValue::toTupleRef())->c10::ivalue::Tuple::elements()’
  137 |        dict.at("input_specs").toTupleRef().elements()) {
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/nnc/context.cpp:143:54: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  143 |        dict.at("output_specs").toTupleRef().elements()) {
      |                                                      ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/nnc/context.cpp:143:53: note: the temporary was destroyed at the end of the full expression ‘(& c10::Dict<Key, Value>::at(const Key&) const [with Key = c10::IValue; Value = c10::IValue](c10::IValue(((const char*)"output_specs"))).c10::IValue::toTupleRef())->c10::ivalue::Tuple::elements()’
  143 |        dict.at("output_specs").toTupleRef().elements()) {
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/nnc/context.cpp:152:55: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  152 |        dict.at("sym_shape_pos").toTupleRef().elements()) {
      |                                                       ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/nnc/context.cpp:152:54: note: the temporary was destroyed at the end of the full expression ‘(& c10::Dict<Key, Value>::at(const Key&) const [with Key = c10::IValue; Value = c10::IValue](c10::IValue(((const char*)"sym_shape_pos"))).c10::IValue::toTupleRef())->c10::ivalue::Tuple::elements()’
  152 |        dict.at("sym_shape_pos").toTupleRef().elements()) {
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
[1793/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/registry.cpp.o
[1794/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/observer.cpp.o
[1795/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/parse_bytecode.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/parse_bytecode.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1796/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/parse_operators.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/parse_operators.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1797/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/prim_ops_registery.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/prim_ops_registery.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/prim_ops_registery.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1798/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/promoted_prim_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ScalarOps.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/promoted_prim_ops.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1799/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/quantization.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/debug_info.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/quantization.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/quantization.cpp: In member function ‘void torch::jit::mobile::quantization::PTQQuanizationHelper::quantize_dynamic(torch::jit::mobile::Module&, const std::string&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/quantization.cpp:55:19: warning: possibly dangling reference to a temporary [-Wdangling-reference]
   55 |   const Function& to_be_copied =
      |                   ^~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/quantization.cpp:56:60: note: the temporary was destroyed at the end of the full expression ‘(&(& m)->torch::jit::mobile::Module::find_method(quantized_method_name).std::optional<torch::jit::mobile::Method>::value())->torch::jit::mobile::Method::function()’
   56 |       m.find_method(quantized_method_name).value().function();
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
[1800/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/register_ops_common_utils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/register_ops_common_utils.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/register_ops_common_utils.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1801/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/type_parser.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/builtin_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/type_parser.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1802/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/upgrader_mobile.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/upgrader_mobile.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/upgrader_mobile.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1803/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/upgraders.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/operator_upgraders/upgraders.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/operator_upgraders/upgraders.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1804/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/upgraders_entry.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/operator_upgraders/upgraders_entry.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/operator_upgraders/upgraders_entry.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/operator_upgraders/upgraders_entry.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1805/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/utils.cpp.o
[1806/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/version_map.cpp.o
[1807/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/add_if_then_else.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/add_if_then_else.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/add_if_then_else.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1808/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/annotate_warns.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/annotate_warns.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/annotate_warns.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1809/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/bailout_graph.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/bailout_graph.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/bailout_graph.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/bailout_graph.h:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1810/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/batch_mm.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/batch_mm.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/batch_mm.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1811/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/canonicalize.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/canonicalize.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/canonicalize.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1812/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/canonicalize_graph_fuser_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/canonicalize_graph_fuser_ops.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/canonicalize_graph_fuser_ops.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1813/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/check_strict_fusion.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/check_strict_fusion.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/check_strict_fusion.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1814/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/clear_profiling.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/clear_profiling.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/clear_profiling.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/clear_profiling.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1815/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/clear_undefinedness.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/clear_undefinedness.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/clear_undefinedness.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/clear_undefinedness.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1816/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/common_subexpression_elimination.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/common_subexpression_elimination.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/common_subexpression_elimination.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1817/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/concat_opt.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/concat_opt.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/concat_opt.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1818/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/constant_pooling.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/constant_pooling.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/constant_pooling.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1819/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/constant_propagation.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/constant_propagation.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/constant_propagation.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1820/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/create_autodiff_subgraphs.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/create_autodiff_subgraphs.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/create_autodiff_subgraphs.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1821/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/create_functional_graphs.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/create_functional_graphs.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/create_functional_graphs.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1822/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dbr_quantization/remove_redundant_aliases.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/dbr_quantization/remove_redundant_aliases.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/dbr_quantization/remove_redundant_aliases.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1823/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dead_code_elimination.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/dead_code_elimination.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/dead_code_elimination.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1824/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/decompose_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/decompose_ops.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/decompose_ops.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/decompose_ops.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1825/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/device_type_analysis.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/device_type_analysis.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1826/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dtype_analysis.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/dtype_analysis.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/alias_analysis.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/dtype_analysis.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1827/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/eliminate_no_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/eliminate_no_ops.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/eliminate_no_ops.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1828/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/erase_number_types.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/erase_number_types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/erase_number_types.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1829/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fixup_trace_scope_blocks.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/fixup_trace_scope_blocks.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/fixup_trace_scope_blocks.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1830/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fold_conv_bn.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/fold_conv_bn.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/fold_conv_bn.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1831/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fold_linear_bn.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/fold_linear_bn.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/fold_linear_bn.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1832/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/freeze_module.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/freeze_module.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/freeze_module.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/graph_executor_impl.h:19,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/freeze_module.cpp:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1833/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_concat_linear.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/alias_analysis.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/frozen_concat_linear.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1834/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_conv_add_relu_fusion.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/constants.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/frozen_conv_add_relu_fusion.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/frozen_conv_add_relu_fusion.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1835/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_conv_folding.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/constants.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/frozen_conv_folding.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/frozen_conv_folding.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1836/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_graph_optimizations.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/alias_analysis.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/frozen_graph_optimizations.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1837/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_linear_folding.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/constants.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/frozen_linear_folding.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/frozen_linear_folding.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1838/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_linear_transpose.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/frozen_linear_transpose.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1839/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_ops_to_mkldnn.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/frozen_ops_to_mkldnn.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/alias_analysis.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/frozen_ops_to_mkldnn.cpp:11:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1840/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fuse_linear.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/fuse_linear.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/fuse_linear.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1841/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fuse_relu.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/fuse_relu.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/fuse_relu.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1842/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/graph_fuser.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/graph_fuser.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/graph_fuser.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/graph_fuser.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1843/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/graph_rewrite_helper.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/graph_rewrite_helper.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/graph_rewrite_helper.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1844/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/guard_elimination.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/guard_elimination.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/guard_elimination.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/guard_elimination.h:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1845/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/hoist_conv_packed_params.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/hoist_conv_packed_params.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1846/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_autodiff_subgraphs.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/inline_autodiff_subgraphs.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/inline_autodiff_subgraphs.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1847/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_fork_wait.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/inline_fork_wait.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/inline_fork_wait.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1848/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_forked_closures.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/inline_forked_closures.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/inline_forked_closures.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/inline_forked_closures.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1849/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inliner.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/inliner.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/inliner.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1850/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inplace_check.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/inplace_check.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/inplace_check.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1851/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/insert_guards.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/insert_guards.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/insert_guards.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/insert_guards.h:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1852/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/integer_value_refinement.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/integer_value_refinement.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1853/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lift_closures.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/lift_closures.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/lift_closures.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/lift_closures.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1854/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/liveness.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/liveness.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/liveness.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/liveness.h:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1855/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/loop_unrolling.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/loop_unrolling.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/loop_unrolling.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1856/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_grad_of.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/lower_grad_of.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/lower_grad_of.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1857/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_tuples.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/lower_tuples.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/lower_tuples.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1858/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/metal_rewrite.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/metal_rewrite.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/graph_executor_impl.h:19,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/metal_rewrite.cpp:16:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1859/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/mkldnn_rewrite.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/mkldnn_rewrite.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1860/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/normalize_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/normalize_ops.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/normalize_ops.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1861/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/pass_manager.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/pass_manager.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/pass_manager.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1862/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/peephole.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/peephole.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1863/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_alias_sensitive.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/alias_analysis.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/peephole_alias_sensitive.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1864/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_dict_idioms.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/alias_analysis.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/peephole_dict_idioms.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1865/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_list_idioms.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/alias_analysis.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/peephole_list_idioms.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1866/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_non_tensor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/peephole.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/peephole_non_tensor.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1867/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/prepack_folding.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/prepack_folding.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1868/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/dedup_module_uses.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/dedup_module_uses.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/dedup_module_uses.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1869/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/finalize.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/finalize.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/finalize.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1870/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/fusion_passes.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/fusion_passes.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/fusion_passes.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1871/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/helper.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/helper.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/helper.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/helper.cpp: In function ‘void torch::jit::cloneMethod(Module&, const std::string&, const std::string&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/helper.cpp:335:19: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  335 |   const Function& method = module.get_method(orig_method_name).function();
      |                   ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/helper.cpp:335:72: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Object::get_method(const std::string&) const((* & orig_method_name)).torch::jit::Method::function()’
  335 |   const Function& method = module.get_method(orig_method_name).function();
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
[1872/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/insert_observers.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/insert_observers.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/insert_observers.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1873/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/insert_quant_dequant.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/insert_quant_dequant.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/insert_quant_dequant.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1874/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/quantization_type.cpp.o
[1875/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/register_packed_params.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/register_packed_params.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/quantization/register_packed_params.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1876/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/refine_tuple_types.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/refine_tuple_types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/refine_tuple_types.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1877/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_dropout.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/remove_dropout.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/remove_dropout.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1878/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_exceptions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/constant_pooling.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/remove_exceptions.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1879/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_expands.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/remove_expands.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/remove_expands.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1880/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_mutation.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/alias_analysis.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/remove_mutation.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/remove_mutation.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1881/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_redundant_profiles.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/dead_code_elimination.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/remove_redundant_profiles.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1882/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/replacement_of_old_operators.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/replacement_of_old_operators.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/replacement_of_old_operators.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1883/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/requires_grad_analysis.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/constants.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/requires_grad_analysis.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/requires_grad_analysis.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1884/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/restore_mutation.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/alias_analysis.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/remove_mutation.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/restore_mutation.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1885/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/shape_analysis.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/shape_analysis.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1886/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/specialize_autogradzero.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/specialize_autogradzero.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/specialize_autogradzero.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1887/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/subgraph_rewrite.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/subgraph_rewrite.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/subgraph_rewrite.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1888/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_analysis.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/alias_analysis.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1889/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_cache.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_cache.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1890/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_runtime_fusion.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_runtime_fusion.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_ops_utils.h:23,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_runtime_fusion.cpp:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1891/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/tensorexpr_fuser.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/tensorexpr_fuser.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/tensorexpr_fuser.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1892/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/update_differentiable_graph_requires_grad.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/update_differentiable_graph_requires_grad.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/update_differentiable_graph_requires_grad.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1893/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/memory_dag.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/utils/memory_dag.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/utils/memory_dag.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1894/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/op_registry.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/utils/op_registry.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/utils/op_registry.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1895/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/optimization_utils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/utils/optimization_utils.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/utils/optimization_utils.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1896/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/subgraph_utils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/alias_analysis.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/utils/subgraph_utils.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/utils/subgraph_utils.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1897/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/value_refinement_utils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/alias_analysis.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/value_refinement_utils.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/value_refinement_utils.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1898/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/variadic_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/variadic_ops.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/variadic_ops.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1899/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/vulkan_rewrite.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/vulkan_rewrite.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/graph_executor_impl.h:19,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/vulkan_rewrite.cpp:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1900/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/xnnpack_rewrite.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/xnnpack/OpContext.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/xnnpack_rewrite.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/xnnpack_rewrite.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/graph_executor_impl.h:19,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/xnnpack_rewrite.cpp:17:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1901/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/python/update_graph_executor_opt.cpp.o
[1902/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/python/utf8_decoding_ignore.cpp.o
[1903/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/argument_spec.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/argument_spec.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/argument_spec.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/argument_spec.h:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1904/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/autodiff.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/autodiff.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/autodiff.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1905/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/decomposition_registry.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/decomposition_registry.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1906/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/decomposition_registry_util.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/inliner.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/decomposition_registry_util.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1907/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/graph_executor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/graph_executor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/graph_executor.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/graph_executor_impl.h:19,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/graph_executor.cpp:37:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/graph_executor.cpp: In member function ‘void torch::jit::{anonymous}::DifferentiableGraphBackward::addOutputForIValue(const c10::IValue&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/graph_executor.cpp:333:30: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  333 |       for (const at::Tensor& tensor : value.toTensorList()) {
      |                              ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/graph_executor.cpp:333:58: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  333 |       for (const at::Tensor& tensor : value.toTensorList()) {
      |                                                          ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/graph_executor.cpp: In member function ‘void torch::jit::{anonymous}::DifferentiableGraphBackward::addInputIValue(const c10::IValue&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/graph_executor.cpp:364:30: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  364 |       for (const at::Tensor& tensor : tensors) {
      |                              ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/graph_executor.cpp:364:39: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  364 |       for (const at::Tensor& tensor : tensors) {
      |                                       ^~~~~~~
[1908/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/instruction.cpp.o
[1909/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/interpreter.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/interpreter.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/interpreter.cpp:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1910/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter/frame.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/interpreter/code_impl.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/interpreter/frame.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/interpreter/frame.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1911/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter/preprocess_graph.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/interpreter/preprocess_graph.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/interpreter/preprocess_graph.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1912/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/jit_exception.cpp.o
[1913/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/jit_trace.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/jit_trace.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir_views.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/jit_trace.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1914/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/logging.cpp.o
[1915/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/operator.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1916/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/print_handler.cpp.o
[1917/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/profiling_graph_executor_impl.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/profiling_graph_executor_impl.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/profiling_graph_executor_impl.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/graph_executor_impl.h:19,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/profiling_graph_executor_impl.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1918/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/profiling_record.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/profiling_record.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/profiling_record.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/profiling_record.h:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1919/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_ops_utils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_ops_utils.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_ops_utils.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_ops_utils.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_ops_utils.h:23:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1920/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/script_profile.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/script_profile.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/script_profile.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/script_profile.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1921/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/serialized_shape_function_registry.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/inliner.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/serialized_shape_function_registry.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1922/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/simple_graph_executor_impl.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/profiling_graph_executor_impl.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/simple_graph_executor_impl.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/graph_executor_impl.h:19,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/profiling_graph_executor_impl.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1923/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/slice_indices_adjust.cpp.o
[1924/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/fusion.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/fusion.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/fusion.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1925/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/generated_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/ops.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/generated_ops.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1926/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/impl.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/impl.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/impl.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/impl.h:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1927/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/memory_planner.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/impl.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/memory_planner.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/memory_planner.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/impl.h:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1928/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/native_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/inliner.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/native_ops.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_ops_utils.h:23,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/native_ops.cpp:18:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/native_ops.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/native_ops.cpp: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/native_ops.cpp:1178:15: warning: possibly dangling reference to a temporary [-Wdangling-reference]
 1178 |         auto& elems = future->value().toTupleRef().elements();
      |               ^~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/ops.h:46:28: note: in definition of macro ‘REGISTER_NATIVE_OPERATOR_FUNCTOR’
   46 |     const SROpFunctor fn = __VA_ARGS__;                            \
      |                            ^~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/native_ops.cpp:1178:60: note: the temporary was destroyed at the end of the full expression ‘(& c10::ivalue::Future::value()().c10::IValue::toTupleRef())->c10::ivalue::Tuple::elements()’
 1178 |         auto& elems = future->value().toTupleRef().elements();
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/ops.h:46:28: note: in definition of macro ‘REGISTER_NATIVE_OPERATOR_FUNCTOR’
   46 |     const SROpFunctor fn = __VA_ARGS__;                            \
      |                            ^~~~~~~~~~~
[1929/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/ops.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/ops.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1930/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/passes.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/passes.h:1,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/passes.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1931/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/te_wrapper.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/codegen.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/te_wrapper.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/te_wrapper.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/te_wrapper.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1932/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_script.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/symbolic_script.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/symbolic_script.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/symbolic_script.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1933/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_shape_registry.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/symbolic_shape_registry.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1934/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_shape_registry_util.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/symbolic_shape_registry_util.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1935/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/vararg_functions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/vararg_functions.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/vararg_functions.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1936/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/callstack_debug_info_serialization.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/callstack_debug_info_serialization.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/callstack_debug_info_serialization.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1937/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import.cpp:20:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1938/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_export_helpers.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/source_range_serialization.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/source_range_serialization_impl.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import_export_helpers.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1939/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_read.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import_read.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import_read.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/sugared_value.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/resolver.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1940/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_source.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import_source.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import_source.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import_source.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/parser.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import_source.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import_source.cpp: In member function ‘void torch::jit::SourceImporterImpl::importNamedType(const std::string&, const torch::jit::ClassDef&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import_source.cpp:286:15: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  286 |   const auto& superclass_name = Var(class_def.superclass().get()).name().name();
      |               ^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import_source.cpp:286:78: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Var::name() const().torch::jit::Ident::name()’
  286 |   const auto& superclass_name = Var(class_def.superclass().get()).name().name();
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
[1941/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/pickle.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/sugared_value.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/resolver.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.h:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1942/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/pickler.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickler.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickler.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1943/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/python_print.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/python_print.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/python_print.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1944/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/source_range_serialization.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/source_range_serialization.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/source_range_serialization.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/sugared_value.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/resolver.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/source_range_serialization.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1945/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/type_name_uniquer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/type_hashing.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/type_name_uniquer.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/type_name_uniquer.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1946/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/unpickler.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.cpp: In function ‘void torch::jit::restoreAccurateTypeTags(const c10::IValue&, const c10::TypePtr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.cpp:145:28: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  145 |         for (const IValue& item : lst) {
      |                            ^~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.cpp:145:35: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<c10::IValue, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<c10::IValue, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const c10::IValue&, c10::IValue>()’
  145 |         for (const IValue& item : lst) {
      |                                   ^~~
[1947/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/block_codegen.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/block_codegen.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/block_codegen.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1948/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/bounds_inference.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/bounds_overlap.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/mem_dependency_checker.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/bounds_inference.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/bounds_inference.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1949/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/bounds_overlap.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/bounds_overlap.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/bounds_overlap.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1950/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/codegen.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/analysis.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/codegen.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1951/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/cpp_codegen.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/codegen.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/cpp_codegen.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/cpp_codegen.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1952/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/eval.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/codegen.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/eval.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/eval.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1953/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/expr.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/expr.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1954/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/Functions.h:60,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/external_functions.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/external_functions.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import_source.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/external_functions.cpp:20:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/parser.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import_source.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[1955/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_codegen.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/Functions.h:60,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/external_functions.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/external_functions_codegen.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1956/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_core.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/external_functions_core.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/external_functions_core.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1957/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_registry.cpp.o
[1958/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/graph_opt.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/graph_opt.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/graph_opt.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1959/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/hash_provider.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/hash_provider.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/hash_provider.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1960/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/intrinsic_symbols.cpp.o
[1961/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1962/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_cloner.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir_cloner.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1963/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_mutator.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/codegen.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/eval.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir_mutator.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1964/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_printer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir_printer.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir_printer.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1965/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_simplifier.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/bounds_overlap.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir_simplifier.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1966/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_verifier.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir_verifier.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1967/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_visitor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir_visitor.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1968/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/kernel.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/kernel.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/kernel.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/kernel.cpp: In member function ‘torch::jit::tensorexpr::ExprHandle torch::jit::tensorexpr::TensorExprKernel::getVarForShape(const c10::ShapeSymbol&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/kernel.cpp:485:21: warning: redundant move in return statement [-Wredundant-move]
  485 |     return std::move(var);
      |            ~~~~~~~~~^~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/kernel.cpp:485:21: note: remove ‘std::move’ call
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/kernel.cpp: In member function ‘torch::jit::tensorexpr::ExprHandle torch::jit::tensorexpr::TensorExprKernel::getStrideArg(size_t, size_t)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/kernel.cpp:1027:21: warning: redundant move in return statement [-Wredundant-move]
 1027 |     return std::move(var);
      |            ~~~~~~~~~^~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/kernel.cpp:1027:21: note: remove ‘std::move’ call
[1969/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/llvm_codegen.cpp.o
[1970/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/llvm_jit.cpp.o
[1971/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/loopnest.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/analysis.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/loopnest.cpp:18:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1972/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/loopnest_randomization.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/bounds_overlap.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir_simplifier.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/loopnest_randomization.cpp:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1973/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/lowerings.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/function_schema_parser.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/lowerings.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/lowerings.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/lowerings.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1974/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/mem_dependency_checker.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/bounds_overlap.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/mem_dependency_checker.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/mem_dependency_checker.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1975/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/conv2d.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/lowerings.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/misc.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/conv2d.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/conv2d.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1976/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/matmul.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/bounds_overlap.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir_simplifier.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/matmul.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/kernel.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/matmul.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/matmul.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1977/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/misc.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/bounds_overlap.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir_simplifier.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/misc.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/kernel.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/misc.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1978/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/norm.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/lowerings.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/misc.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/norm.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1979/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/pointwise.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/lowerings.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/misc.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/pointwise.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1980/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/quantization.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/bounds_overlap.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir_simplifier.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/quantization.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/lowerings.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/misc.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/quantization.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1981/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/reduction.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/kernel.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/reduction.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/reduction.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1982/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/softmax.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/kernel.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/softmax.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/operators/softmax.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1983/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/reduction.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/reduction.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/reduction.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1984/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/registerizer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/hash_provider.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/registerizer.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/registerizer.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1985/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/tensor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/reduction.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/tensor.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/tensor.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1986/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/types.cpp.o
[1987/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/unique_name_manager.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/ir.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/unique_name_manager.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[1988/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/testing/file_check.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/testing/file_check.cpp:18:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1989/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/testing/hooks_for_testing.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/testing/hooks_for_testing.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/testing/hooks_for_testing.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1990/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/backend_device.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_interface.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_device.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1991/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/backend_interface.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_interface.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_interface.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1992/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/lowering_context.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/lowering_context.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/lowering_context.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1993/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/config.cpp.o
[1994/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/debug_util.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/tensor.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/debug_util.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/debug_util.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1995/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/hash.cpp.o
[1996/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/helpers.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/helpers.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/helpers.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1997/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_interface.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/ir.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1998/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_dump_util.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/ir.h:19,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/ir_dump_util.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/ir_dump_util.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[1999/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_metadata.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/tensor.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/debug_util.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/ir_metadata.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2000/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_util.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/ir.h:19,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/ir_util.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/ir_util.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2001/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/lazy_graph_executor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/lowering_context.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/lazy_graph_executor.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/lazy_graph_executor.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2002/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/metrics.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_interface.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/metrics.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2003/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/multi_wait.cpp.o
[2004/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ops/arithmetic_ir_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/ir.h:19,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/ops/arithmetic_ir_ops.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/ops/arithmetic_ir_ops.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2005/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ops/utils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_interface.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/tensor_util.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/ops/utils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/ops/utils.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2006/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/permutation_util.cpp.o
[2007/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/shape.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2008/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/shape_inference.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape_inference.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape_inference.cpp:50:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2009/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/tensor.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/tensor.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2010/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor_impl.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/tensor.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/tensor_impl.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/tensor_impl.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2011/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor_util.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_interface.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/tensor_util.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/tensor_util.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2012/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/thread_pool.cpp.o
[2013/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/trie.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/ir.h:19,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/trie.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/trie.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2014/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/monitor/counters.cpp.o
[2015/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/monitor/events.cpp.o
[2016/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/collection.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/orchestration/observer.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/api.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/kineto_shim.h:62,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/collection.h:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/collection.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2017/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/combined_traceback.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/interpreter.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/combined_traceback.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/combined_traceback.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2018/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/data_flow.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/orchestration/observer.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/api.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/kineto_shim.h:62,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/collection.h:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/data_flow.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2019/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/kineto_client_interface.cpp.o
[2020/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/kineto_shim.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/orchestration/observer.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/api.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/kineto_shim.h:62,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/collection.h:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/kineto_shim.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2021/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/observer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/orchestration/observer.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/orchestration/observer.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2022/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/python_tracer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/orchestration/observer.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/api.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/kineto_shim.h:62,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/orchestration/python_tracer.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/orchestration/python_tracer.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2023/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/vulkan.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/util.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/orchestration/vulkan.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/orchestration/vulkan.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2024/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/perf.cpp.o
[2025/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/execution_trace_observer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/standalone/execution_trace_observer.cpp:24:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2026/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/itt_observer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/orchestration/observer.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/api.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/standalone/itt_observer.h:1,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/standalone/itt_observer.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2027/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/nvtx_observer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/orchestration/observer.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/api.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/standalone/nvtx_observer.h:1,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/standalone/nvtx_observer.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/standalone/nvtx_observer.cpp: In function ‘std::__cxx11::list<std::pair<long unsigned int, int> > torch::profiler::impl::flattenOpIdList(const c10::List<c10::IValue>&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/standalone/nvtx_observer.cpp:73:27: warning: possibly dangling reference to a temporary [-Wdangling-reference]
   73 |   for (const c10::IValue& input : list) {
      |                           ^~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/standalone/nvtx_observer.cpp:73:35: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<c10::IValue, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<c10::IValue, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const c10::IValue&, c10::IValue>()’
   73 |   for (const c10::IValue& input : list) {
      |                                   ^~~~
[2028/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/stubs/base.cpp.o
[2029/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/unwind/unwind.cpp.o
[2030/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/unwind/unwind_fb.cpp.o
[2031/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/util.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/graph_task.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/function.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/util.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/util.cpp: In function ‘std::vector<std::vector<long int> > torch::profiler::impl::flattenList(const c10::List<c10::IValue>&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/util.cpp:169:27: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  169 |   for (const c10::IValue& input : list) {
      |                           ^~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/util.cpp:169:35: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<c10::IValue, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<c10::IValue, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const c10::IValue&, c10::IValue>()’
  169 |   for (const c10::IValue& input : list) {
      |                                   ^~~~
[2032/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/cpp_stacktraces.cpp.o
[2033/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/schema_info.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/schema_info.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2034/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/tensor_flatten.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/tensor_flatten.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/tensor_flatten.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2035/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/variadic.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2036/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/cuda/interface.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/cuda/interface.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/cuda/interface.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_ops_utils.h:23,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/cuda/interface.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[2037/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/autocast.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/autocast.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/autocast.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2038/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_graph.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/lower_graph.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/lower_graph.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2039/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_inplace_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/remove_inplace_ops.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/remove_inplace_ops.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2040/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/check_alias_annotation.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/utils/check_alias_annotation.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/utils/check_alias_annotation.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/utils/check_alias_annotation.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/utils/check_alias_annotation.cpp: In function ‘c10::IValue torch::jit::{anonymous}::deepCopy(const c10::IValue&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/utils/check_alias_annotation.cpp:31:24: warning: possibly dangling reference to a temporary [-Wdangling-reference]
   31 |     for (const IValue& value : source) {
      |                        ^~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/utils/check_alias_annotation.cpp:31:32: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<c10::IValue, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<c10::IValue, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const c10::IValue&, c10::IValue>()’
   31 |     for (const IValue& value : source) {
      |                                ^~~~~~
[2041/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_c10_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_c10_ops.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2042/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_prim_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/autocast_mode.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_prim_ops.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/autocast_mode.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_ops_utils.h:23,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_prim_ops.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_ops_utils.h: In instantiation of ‘void torch::jit::listContains(Stack&) [with T = std::__cxx11::basic_string<char>; Stack = std::vector<c10::IValue>]’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_prim_ops.cpp:981:34:   required from here
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note:   981 |         aliasAnalysisFromSchema()),
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note:       |                                  ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_ops_utils.h:333:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  333 |   for (const T& item : list) {
      |                 ^~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_ops_utils.h:333:3: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::__cxx11::basic_string<char>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const std::__cxx11::basic_string<char>&, std::__cxx11::basic_string<char> >()’
  333 |   for (const T& item : list) {
      |   ^~~
[2043/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_prim_ops_fulljit.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/interface.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_prim_ops_fulljit.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/interface.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_ops_utils.h:23,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_prim_ops_fulljit.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[2044/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_special_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/register_special_ops.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2045/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/debug_info.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/debug_info.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/debug_info.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/debug_info.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[2046/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/dynamic_ir.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/ir.h:19,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/dynamic_ir.h:17,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/dynamic_ir.h:16,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/dynamic_ir.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2047/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/config.cpp.o
[2048/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ops/device_data.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/ops/device_data.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/ops/device_data.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2049/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ops/generic.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/ts_node.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/ops/generic.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/ops/generic.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2050/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/tensor_aten_ops.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/tensor.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/tensor_aten_ops.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/tensor_aten_ops.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2051/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_autograd_functions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/CPUFallback.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/ts_autograd_functions.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/CPUFallback.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2052/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_backend_impl.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_interface.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/ts_backend_impl.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/ts_backend_impl.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2053/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_eager_fallback.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/ts_eager_fallback.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/ts_eager_fallback.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2054/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_lowering_context.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_interface.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/ts_backend_impl.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/ts_lowering_context.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2055/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_native_functions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/ts_native_functions.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2056/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_node.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/tensor.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/debug_util.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/ts_node.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2057/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_node_lowering.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/jit.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/ts_node_lowering.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/ts_backend/ts_node_lowering.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2058/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/import_data.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/debug_info.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/import_data.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/import_data.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/import_data.cpp:17:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[2059/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/export_data.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/debug_info.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/train/export_data.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/train/export_data.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2060/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/optim/sgd.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/train/optim/sgd.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/train/optim/sgd.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2061/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/random.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/data/samplers/base.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/train/random.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/train/random.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2062/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/sequential.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/data/samplers/base.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/train/sequential.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/train/sequential.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2063/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/flatbuffer_serializer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/flatbuffer_serializer.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/flatbuffer_serializer.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/debug_info.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/flatbuffer_serializer.h:11:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2064/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/FunctionsManual.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/FunctionsManual.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/FunctionsManual.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2065/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/out_types.cpp.o
[2066/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/TraceTypeManual.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/stack.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/boxing/KernelFunction.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/op_registration.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/TraceTypeManual.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/TraceTypeManual.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2067/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/VariableTypeManual.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/RedispatchFunctions.h:17,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeManual.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/VariableTypeManual.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2068/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/jit.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/jit.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/jit.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/jit.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[2069/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/backport.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/compatibility/backport.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2070/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/backport_manager.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/compatibility/backport_manager.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/compilation_unit.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/debug_info.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/import.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/mobile/compatibility/backport_manager.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2071/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/onnx.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/onnx.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/onnx.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2072/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/export.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/export.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2073/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export_bytecode.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/export_bytecode.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/export_bytecode.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_detail.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_debug_handler.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/export_bytecode.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/export_bytecode.cpp:26:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[2074/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export_module.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/export.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/export_module.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/export_module.cpp:23:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[2075/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/cpu/fused_kernel.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/cpu/fused_kernel.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/cpu/fused_kernel.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/interface.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/compiler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/codegen/fuser/cpu/fused_kernel.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2076/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/module_save.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module_save.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2077/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/byte_order.cpp.o
[2078/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_legacy.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/sugared_value.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/resolver.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/import_legacy.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[2079/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/cuda.cpp.o
[2080/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/datasets/mnist.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/data/example.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/data/datasets/base.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/data/datasets/mnist.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/data/datasets/mnist.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2081/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/distributed.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/data/samplers/base.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/data/samplers/distributed.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/data/samplers/distributed.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2082/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/random.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/data/samplers/base.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/data/samplers/random.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/data/samplers/random.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2083/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/sequential.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/data/samplers/base.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/data/samplers/sequential.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/data/samplers/sequential.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2084/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/stream.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/data/samplers/base.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/data/samplers/stream.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/data/samplers/stream.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2085/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/enum.cpp.o
[2086/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/imethod.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/imethod.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/imethod.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2087/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/serialize.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/sugared_value.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/resolver.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/unpickler.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/serialization/pickle.h:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/script_type_parser.h:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[2088/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/mps.cpp.o
[2089/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/init.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/init.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/init.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2090/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/module.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/module.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2091/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/_functions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/custom_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/_functions.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/_functions.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/normalization.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/_functions.h:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2092/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/activation.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/dropout.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/functional/dropout.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/functional/activation.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/activation.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2093/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/adaptive.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/cloneable.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/adaptive.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/adaptive.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2094/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/batchnorm.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/batchnorm.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/functional/batchnorm.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/batchnorm.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2095/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/normalization.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/cloneable.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/normalization.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/normalization.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2096/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/instancenorm.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/batchnorm.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/instancenorm.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/functional/instancenorm.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/instancenorm.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2097/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/conv.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/conv.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/functional/conv.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/conv.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2098/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/dropout.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/dropout.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/functional/dropout.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/dropout.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2099/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/distance.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/cloneable.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/distance.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/distance.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2100/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/embedding.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/cloneable.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/embedding.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/embedding.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2101/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/fold.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/cloneable.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/fold.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/fold.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2102/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/linear.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/functional/linear.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/linear.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2103/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/loss.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/cloneable.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/loss.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/loss.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2104/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/padding.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/cloneable.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/padding.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/padding.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2105/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/pixelshuffle.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/cloneable.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/pixelshuffle.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/pixelshuffle.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2106/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/pooling.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/cloneable.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/pooling.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/pooling.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2107/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/rnn.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/cloneable.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/rnn.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/rnn.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2108/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/upsampling.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/cloneable.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/upsampling.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/upsampling.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2109/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/transformer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/init.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/transformer.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2110/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/container/functional.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/functional.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/modules/container/functional.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/cloneable.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/functional.h:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2111/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/activation.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/activation.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/options/activation.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2112/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/adaptive.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/adaptive.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/options/adaptive.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2113/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/batchnorm.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/batchnorm.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/options/batchnorm.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2114/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/embedding.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/embedding.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/options/embedding.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2115/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/instancenorm.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/batchnorm.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/instancenorm.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/options/instancenorm.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2116/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/normalization.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/normalization.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/options/normalization.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2117/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/conv.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/conv.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/options/conv.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2118/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/dropout.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/dropout.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/options/dropout.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2119/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/linear.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/linear.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/options/linear.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2120/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/padding.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/padding.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/options/padding.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2121/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/pooling.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/pooling.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/options/pooling.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2122/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/rnn.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/rnn.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/options/rnn.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2123/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/vision.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/vision.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/options/vision.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2124/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/transformer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/options/transformer.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/nn/options/transformer.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2125/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adagrad.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/pimpl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/optim/adagrad.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/optim/adagrad.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2126/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adam.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/optim/adam.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/optim/adam.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2127/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adamw.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/optim/adamw.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/optim/adamw.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2128/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/lbfgs.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/optim/lbfgs.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/optim/lbfgs.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2129/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/optimizer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ScalarOps.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/TensorDataContainer.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/variable_factories.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/optim/optimizer.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/optim/optimizer.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2130/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/rmsprop.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/optim/rmsprop.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/optim/rmsprop.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2131/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/serialize.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/serialize/input-archive.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/serialize/archive.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/optim/serialize.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/optim/serialize.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2132/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/sgd.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/nn/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/optim/sgd.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/optim/sgd.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2133/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/schedulers/lr_scheduler.cpp.o
[2134/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/schedulers/step_lr.cpp.o
[2135/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/schedulers/reduce_on_plateau_scheduler.cpp.o
[2136/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize/input-archive.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/serialize/input-archive.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/serialize/input-archive.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2137/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize/output-archive.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/serialize/output-archive.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/serialize/output-archive.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2138/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/xpu.cpp.o
[2139/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPUKernel_add.cpp.AVX2.cpp.o
[2140/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2141/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.AVX2.cpp.o
[2142/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.AVX2.cpp.o
[2143/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.AVX2.cpp.o
[2144/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/layer_norm_kernel.cpp:19,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2145/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/int8mm_kernel.cpp.AVX2.cpp.o
[2146/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/int4mm_kernel.cpp.AVX2.cpp.o
[2147/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/group_norm_kernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/group_norm_kernel.cpp:21,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/group_norm_kernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /usr/include/string.h:548,
                 from /usr/include/c++/14/cstring:43,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/c10/util/string_view.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/c10/util/StringUtil.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/c10/util/Exception.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/c10/core/Device.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/core/TensorBody.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Tensor.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/group_norm_kernel.cpp:8:
In function ‘void* memcpy(void*, const void*, size_t)’,
    inlined from ‘void at::vec::AVX2::Vectorized<double>::store(void*, int) const’ at /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/cpu/vec/vec256/vec256_double.h:90:18,
    inlined from ‘void at::vec::AVX2::Vectorized<double>::store(void*, int) const’ at /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/cpu/vec/vec256/vec256_double.h:84:8,
    inlined from ‘void at::vec::map2(const Op&, scalar_t*, const scalar_t*, const scalar_t*, int64_t) [with scalar_t = double; Op = at::native::{anonymous}::CalcMeanVar<double, double>(const double*, double*, double*, int64_t)::<lambda(Vec, Vec)>; typename std::enable_if<(! is_reduced_floating_point_v<scalar_t>), int>::type <anonymous> = 0]’ at /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/cpu/vec/functional_base.h:268:21,
    inlined from ‘typename std::enable_if<std::is_same< <template-parameter-1-1>, <template-parameter-1-2> >::value>::type at::native::{anonymous}::CalcMeanVar(const T*, opmath_t*, opmath_t*, int64_t) [with T = double; opmath_t = double]’ at /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/group_norm_kernel.cpp:170:15,
    inlined from ‘at::native::{anonymous}::GroupNormKernelImplChannelsLastInternal<double, double>(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, int64_t, int64_t, double, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda(int64_t, int64_t)>’ at /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/group_norm_kernel.cpp:413:33,
    inlined from ‘at::parallel_for<native::{anonymous}::GroupNormKernelImplChannelsLastInternal<double, double>(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, int64_t, int64_t, double, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda(int64_t, int64_t)> >(int64_t, int64_t, int64_t, const native::{anonymous}::GroupNormKernelImplChannelsLastInternal<double, double>(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, int64_t, int64_t, double, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda(int64_t, int64_t)>&)::<lambda(int64_t, int64_t)>’ at /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/Parallel-inl.h:36:10,
    inlined from ‘_ZN2at8internal15invoke_parallelIZNS_12parallel_forIZNS_6native12_GLOBAL__N_139GroupNormKernelImplChannelsLastInternalIddEEvRKNS_6TensorES8_S8_lllldRS6_S9_S9_EUlllE0_EEvlllRKT_EUlllE_EEvlllSD_._omp_fn.0’ at /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ParallelOpenMP.h:41:10:
/usr/include/bits/string_fortified.h:29:33: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ reading between 40 and 17179869176 bytes from a region of size 32 [-Wstringop-overread]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/cpu/vec/vec256/vec256.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/cpu/vec/vec.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/group_norm_kernel.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/cpu/vec/vec256/vec256_double.h: In function ‘_ZN2at8internal15invoke_parallelIZNS_12parallel_forIZNS_6native12_GLOBAL__N_139GroupNormKernelImplChannelsLastInternalIddEEvRKNS_6TensorES8_S8_lllldRS6_S9_S9_EUlllE0_EEvlllRKT_EUlllE_EEvlllSD_._omp_fn.0’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/cpu/vec/vec256/vec256_double.h:88:14: note: source object ‘tmp_values’ of size 32
   88 |       double tmp_values[size()];
      |              ^~~~~~~~~~
In function ‘void* memcpy(void*, const void*, size_t)’,
    inlined from ‘void at::vec::AVX2::Vectorized<double>::store(void*, int) const’ at /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/cpu/vec/vec256/vec256_double.h:90:18,
    inlined from ‘void at::vec::AVX2::Vectorized<double>::store(void*, int) const’ at /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/cpu/vec/vec256/vec256_double.h:84:8,
    inlined from ‘void at::vec::map2(const Op&, scalar_t*, const scalar_t*, const scalar_t*, int64_t) [with scalar_t = double; Op = at::native::{anonymous}::CalcMeanVar<double, double>(const double*, double*, double*, int64_t)::<lambda(Vec, Vec)>; typename std::enable_if<(! is_reduced_floating_point_v<scalar_t>), int>::type <anonymous> = 0]’ at /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/cpu/vec/functional_base.h:268:21,
    inlined from ‘typename std::enable_if<std::is_same< <template-parameter-1-1>, <template-parameter-1-2> >::value>::type at::native::{anonymous}::CalcMeanVar(const T*, opmath_t*, opmath_t*, int64_t) [with T = double; opmath_t = double]’ at /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/group_norm_kernel.cpp:170:15,
    inlined from ‘at::native::{anonymous}::GroupNormKernelImplChannelsLastInternal<double, double>(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, int64_t, int64_t, double, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda(int64_t, int64_t)>’ at /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/group_norm_kernel.cpp:413:33,
    inlined from ‘void at::parallel_for(int64_t, int64_t, int64_t, const F&) [with F = native::{anonymous}::GroupNormKernelImplChannelsLastInternal<double, double>(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, int64_t, int64_t, double, at::Tensor&, at::Tensor&, at::Tensor&)::<lambda(int64_t, int64_t)>]’ at /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/Parallel-inl.h:29:6,
    inlined from ‘void at::native::{anonymous}::GroupNormKernelImplChannelsLastInternal(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, int64_t, int64_t, double, at::Tensor&, at::Tensor&, at::Tensor&) [with T = double; PT = double]’ at /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/group_norm_kernel.cpp:403:21:
/usr/include/bits/string_fortified.h:29:33: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ reading between 40 and 17179869176 bytes from a region of size 32 [-Wstringop-overread]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/cpu/vec/vec256/vec256_double.h: In function ‘void at::native::{anonymous}::GroupNormKernelImplChannelsLastInternal(const at::Tensor&, const at::Tensor&, const at::Tensor&, int64_t, int64_t, int64_t, int64_t, double, at::Tensor&, at::Tensor&, at::Tensor&) [with T = double; PT = double]’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/cpu/vec/vec256/vec256_double.h:88:14: note: source object ‘tmp_values’ of size 32
   88 |       double tmp_values[size()];
      |              ^~~~~~~~~~
[2148/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/batch_norm_kernel.cpp:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2149/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/airy_ai.cpp.AVX2.cpp.o
[2150/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/WeightNormKernel.cpp.AVX2.cpp.o
[2151/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.AVX2.cpp.o
[2152/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleKernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/UpSampleKernelAVXAntialias.h:32,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/UpSampleKernel.cpp:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/UpSampleKernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2153/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/arange.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/UnfoldBackward.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2154/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Unfold2d.cpp.AVX2.cpp.o
[2155/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.AVX2.cpp.o
[2156/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/TensorCompareKernel.cpp:16,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2157/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SumKernel.cpp.AVX2.cpp.o
[2158/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/StackKernel.cpp.AVX2.cpp.o
[2159/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2160/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SparseFactories.cpp.AVX2.cpp.o
[2161/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SortingKernel.cpp.AVX2.cpp.o
[2162/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.AVX2.cpp.o
[2163/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorAdvancedIndexing.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2164/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2165/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RenormKernel.cpp.AVX2.cpp.o
[2166/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ResizeCommon.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Resize.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2167/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ResizeCommon.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Resize.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ReduceOpsUtils.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2168/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.AVX2.cpp.o
[2169/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PowKernel.cpp.AVX2.cpp.o
[2170/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.AVX2.cpp.o
[2171/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.AVX2.cpp.o
[2172/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PaddingKernel.cpp.AVX2.cpp.o
[2173/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/NativeMultiheadAttnKernel.cpp.AVX2.cpp.o
[2174/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MultinomialKernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/MultinomialKernel.cpp:15,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/MultinomialKernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2175/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.AVX2.cpp.o
[2176/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPooling.cpp.AVX2.cpp.o
[2177/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.AVX2.cpp.o
[2178/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.AVX2.cpp.o
[2179/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LerpKernel.cpp.AVX2.cpp.o
[2180/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/IndexKernel.cpp.AVX2.cpp.o
[2181/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/HistogramKernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/aminmax.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/HistogramKernel.cpp:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/HistogramKernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2182/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.AVX2.cpp.o
[2183/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.AVX2.cpp.o
[2184/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FlashAttentionKernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorSubclassLikeUtils.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/transformers/sdp_utils_cpp.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/FlashAttentionKernel.cpp:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/FlashAttentionKernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2185/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FillKernel.cpp.AVX2.cpp.o
[2186/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistributionKernels.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/DistributionKernels.cpp:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/DistributionKernels.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2187/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.AVX2.cpp.o
[2188/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2189/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CrossKernel.cpp.AVX2.cpp.o
[2190/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CopyKernel.cpp.AVX2.cpp.o
[2191/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ComplexKernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/ComplexKernel.cpp:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/ComplexKernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2192/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.AVX2.cpp.o
[2193/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CatKernel.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/CatKernel.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/CatKernel.cpp:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/CatKernel.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2194/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BlasKernel.cpp.AVX2.cpp.o
[2195/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.AVX2.cpp.o
[2196/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.AVX2.cpp.o
[2197/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AmpGradScalerKernels.cpp.AVX2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/AmpGradScalerKernels.cpp:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/AmpGradScalerKernels.cpp.AVX2.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2198/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.AVX2.cpp.o
[2199/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.AVX2.cpp.o
[2200/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.AVX2.cpp.o
[2201/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPUKernel_add.cpp.AVX512.cpp.o
[2202/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2203/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.AVX512.cpp.o
[2204/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.AVX512.cpp.o
[2205/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.AVX512.cpp.o
[2206/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/layer_norm_kernel.cpp:19,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2207/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/int8mm_kernel.cpp.AVX512.cpp.o
[2208/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/int4mm_kernel.cpp.AVX512.cpp.o
[2209/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/group_norm_kernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/group_norm_kernel.cpp:21,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/group_norm_kernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2210/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/batch_norm_kernel.cpp:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2211/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/airy_ai.cpp.AVX512.cpp.o
[2212/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/WeightNormKernel.cpp.AVX512.cpp.o
[2213/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.AVX512.cpp.o
[2214/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleKernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/UpSampleKernel.cpp:16,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/UpSampleKernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2215/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/arange.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/UnfoldBackward.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2216/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Unfold2d.cpp.AVX512.cpp.o
[2217/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.AVX512.cpp.o
[2218/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/TensorCompareKernel.cpp:16,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2219/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SumKernel.cpp.AVX512.cpp.o
[2220/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/StackKernel.cpp.AVX512.cpp.o
[2221/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2222/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SparseFactories.cpp.AVX512.cpp.o
[2223/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SortingKernel.cpp.AVX512.cpp.o
[2224/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.AVX512.cpp.o
[2225/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorAdvancedIndexing.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2226/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2227/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RenormKernel.cpp.AVX512.cpp.o
[2228/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ResizeCommon.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Resize.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2229/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ResizeCommon.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/Resize.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/ReduceOpsUtils.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2230/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.AVX512.cpp.o
[2231/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PowKernel.cpp.AVX512.cpp.o
[2232/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.AVX512.cpp.o
[2233/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.AVX512.cpp.o
[2234/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PaddingKernel.cpp.AVX512.cpp.o
[2235/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/NativeMultiheadAttnKernel.cpp.AVX512.cpp.o
[2236/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MultinomialKernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/MultinomialKernel.cpp:15,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/MultinomialKernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2237/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.AVX512.cpp.o
[2238/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPooling.cpp.AVX512.cpp.o
[2239/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.AVX512.cpp.o
[2240/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.AVX512.cpp.o
[2241/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LerpKernel.cpp.AVX512.cpp.o
[2242/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/IndexKernel.cpp.AVX512.cpp.o
[2243/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/HistogramKernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/aminmax.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/HistogramKernel.cpp:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/HistogramKernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2244/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.AVX512.cpp.o
[2245/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.AVX512.cpp.o
[2246/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FlashAttentionKernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorSubclassLikeUtils.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/transformers/sdp_utils_cpp.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/FlashAttentionKernel.cpp:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/FlashAttentionKernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2247/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FillKernel.cpp.AVX512.cpp.o
[2248/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistributionKernels.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/DistributionKernels.cpp:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/DistributionKernels.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2249/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.AVX512.cpp.o
[2250/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/empty.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2251/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CrossKernel.cpp.AVX512.cpp.o
[2252/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CopyKernel.cpp.AVX512.cpp.o
[2253/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ComplexKernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/scalar_tensor.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/TensorFactories.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/ComplexKernel.cpp:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/ComplexKernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2254/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.AVX512.cpp.o
[2255/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CatKernel.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/CatKernel.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/CatKernel.cpp:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/CatKernel.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2256/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BlasKernel.cpp.AVX512.cpp.o
[2257/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.AVX512.cpp.o
[2258/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.AVX512.cpp.o
[2259/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AmpGradScalerKernels.cpp.AVX512.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/native/cpu/AmpGradScalerKernels.cpp:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/native/cpu/AmpGradScalerKernels.cpp.AVX512.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2260/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.AVX512.cpp.o
[2261/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.AVX512.cpp.o
[2262/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.AVX512.cpp.o
[2263/2465] Building CXX object caffe2/CMakeFiles/torch.dir/__/empty.cpp.o
[2264/2465] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/python/pybind_state.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/python/pybind_state.cc:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/module_python.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/python/pybind_state.cc:44:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2265/2465] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_workspace.cc.o
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/python/pybind_workspace.cc: In function ‘caffe2::Workspace* caffe2::python::NewWorkspace()’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/python/pybind_workspace.cc:35:10: warning: pointer used after ‘void operator delete(void*, std::size_t)’ [-Wuse-after-free]
   35 |   return gWorkspace;
      |          ^~~~~~~~~~
In file included from /usr/include/c++/14/memory:78,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/common.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/workspace.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/python/pybind_workspace.cc:1:
In member function ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = caffe2::Workspace]’,
    inlined from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = caffe2::Workspace]’ at /usr/include/c++/14/bits/unique_ptr.h:87:7,
    inlined from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = caffe2::Workspace; _Dp = std::default_delete<caffe2::Workspace>]’ at /usr/include/c++/14/bits/unique_ptr.h:398:17,
    inlined from ‘caffe2::Workspace* caffe2::python::NewWorkspace()’ at /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/python/pybind_workspace.cc:36:1:
/usr/include/c++/14/bits/unique_ptr.h:93:9: note: call to ‘void operator delete(void*, std::size_t)’ here
   93 |         delete __ptr;
      |         ^~~~~~~~~~~~
[2266/2465] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state_dlpack.cc.o
[2267/2465] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state_nomni.cc.o
[2268/2465] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state_registry.cc.o
[2269/2465] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state_int8.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/core/operator.h:37,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/python/pybind_state.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/python/pybind_state_int8.cc:22:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2270/2465] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/common_avx.cc.o
[2271/2465] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/typed_axpy_avx.cc.o
[2272/2465] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/adagrad_avx2.cc.o
[2273/2465] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/batch_box_cox_avx2.cc.o
[2274/2465] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/common_avx2.cc.o
[2275/2465] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_avx2.cc.o
[2276/2465] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_avx2.cc.o
[2277/2465] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_idx_avx2.cc.o
[2278/2465] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_idx_avx2.cc.o
[2279/2465] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/lstm_unit_cpu_avx2.cc.o
[2280/2465] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/math_cpu_avx2.cc.o
[2281/2465] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/typed_axpy_avx2.cc.o
[2282/2465] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx512.dir/adagrad_avx512.cc.o
[2283/2465] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx512.dir/common_avx512.cc.o
[2284/2465] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o
[2285/2465] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2_legacy.pb.cc.o
[2286/2465] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/hsm.pb.cc.o
[2287/2465] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/metanet.pb.cc.o
[2288/2465] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/predictor_consts.pb.cc.o
[2289/2465] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/prof_dag.pb.cc.o
[2290/2465] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/torch.pb.cc.o
[2291/2465] Linking CXX static library lib/libcaffe2_protos.a
[2292/2465] Linking CXX static library lib/libCaffe2_perfkernels_avx.a
[2293/2465] Linking CXX static library lib/libCaffe2_perfkernels_avx2.a
[2294/2465] Linking CXX static library lib/libCaffe2_perfkernels_avx512.a
[2295/2465] Linking CXX shared library lib/libtorch_cpu.so
Warning: Unused direct dependencies:
	/lib64/libopencv_highgui.so.409
	/lib64/libopencv_optflow.so.409
	/lib64/libopencv_videoio.so.409
	/lib64/libopencv_ximgproc.so.409
	/lib64/libopencv_video.so.409
	/lib64/libopencv_dnn.so.409
	/lib64/libopencv_calib3d.so.409
	/lib64/libopencv_features2d.so.409
	/lib64/libopencv_flann.so.409
[2296/2465] Linking CXX shared library lib/libtorch.so
Warning: Unused direct dependencies:
	/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/lib/libtorch_cpu.so
[2297/2465] Linking CXX shared module caffe2/python/caffe2_pybind11_state.cpython-312-x86_64-linux-gnu.so
Warning: Unused direct dependencies:
	/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/lib/libtorch.so
[2298/2465] Generating /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/_C/__init__.pyi, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/_C/_VariableFunctions.pyi, /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/nn/functional.pyi
[2299/2465] Generating /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/utils/data/datapipes/datapipe.pyi
[2300/2465] Generating /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/version.py
[2301/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_0.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_functions_0.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2302/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_1.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_functions_1.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2303/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_functions_2.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2304/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_3.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_functions_3.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2305/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_4.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_functions_4.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2306/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_variable_methods.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Size.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_variable_methods.cpp:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd_not_implemented_fallback.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_variable_methods.cpp:15:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2307/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_torch_functions_0.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_torch_functions_0.cpp:19:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2308/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_torch_functions_1.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_torch_functions_1.cpp:19:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2309/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_torch_functions_2.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_torch_functions_2.cpp:19:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2310/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_nn_functions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_nn_functions.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2311/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_fft_functions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_fft_functions.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2312/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_linalg_functions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_linalg_functions.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2313/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_nested_functions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_nested_functions.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2314/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_sparse_functions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_sparse_functions.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2315/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_special_functions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/python_special_functions.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2316/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_return_types.cpp.o
[2317/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_enum_tag.cpp.o
[2318/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/DataLoader.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/class_type.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tracer.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/python_numbers.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/DataLoader.cpp:17:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2319/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Device.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/python_arg_parser.h:55,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Device.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2320/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Dtype.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/class_type.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tracer.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/python_numbers.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Dtype.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2321/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/DynamicTypes.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd_not_implemented_fallback.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/DynamicTypes.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2322/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Exceptions.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Size.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/THP.h:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Exceptions.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2323/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Generator.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Generator.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd_not_implemented_fallback.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Generator.cpp:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2324/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Layout.cpp.o
[2325/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/MemoryFormat.cpp.o
[2326/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/QScheme.cpp.o
[2327/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Module.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Module.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_ir.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Module.cpp:66:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2328/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/PyInterpreter.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/TorchDispatchUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/PythonFallbackKernel.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/PyInterpreter.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2329/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/python_dimname.cpp.o
[2330/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Size.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Size.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Size.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2331/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Storage.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Size.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/THP.h:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Storage.cpp:16:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2332/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/StorageMethods.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Size.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/THP.h:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/StorageMethods.cpp:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2333/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/StorageSharing.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Size.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/THP.h:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/StorageSharing.cpp:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2334/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Stream.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Size.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/THP.h:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Stream.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2335/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/TypeInfo.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/TypeInfo.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/TypeInfo.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2336/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/api/src/python/init.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List_inl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/List.h:490,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/Variadic.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/variadic.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/python.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/src/python/init.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/types.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/detail/static.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2337/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/functions/init.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/CachedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/functions/accumulate_grad.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/functions/init.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2338/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/init.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/autocast_mode.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/init.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/autocast_mode.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/init.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2339/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/profiler_python.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/profiler_python.cpp:26:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2340/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_anomaly_mode.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/graph_task.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/function.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_cpp_function.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_anomaly_mode.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2341/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_saved_variable_hooks.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_saved_variable_hooks.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_saved_variable_hooks.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2342/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_cpp_function.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/graph_task.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/function.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_cpp_function.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_cpp_function.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2343/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_engine.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/engine.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_engine.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_engine.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2344/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_function.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/custom_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_function.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_function.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/Interpreter.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/functorch/DynamicLayer.h:13,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_function.cpp:13:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_function.cpp:30:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2345/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_hook.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Size.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/THP.h:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_hook.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2346/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_legacy_variable.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_legacy_variable.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2347/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_nested_functions_manual.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/python_arg_parser.h:55,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/nested.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_nested_functions_manual.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd_not_implemented_fallback.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/autograd.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/all.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/torch.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_nested_functions_manual.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2348/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_torch_functions_manual.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/graph_task.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/function.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_torch_functions_manual.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_torch_functions_manual.cpp:23:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2349/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_variable.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:16,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.cpp:25:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2350/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_variable_indexing.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable_indexing.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable_indexing.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable_indexing.cpp:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2351/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/dynamo/python_compiled_autograd.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/engine.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/dynamo/python_compiled_autograd.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:16,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/dynamo/python_compiled_autograd.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2352/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/dynamo/cache_entry.cpp.o
[2353/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/dynamo/cpp_shim.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/dynamo/cpp_shim.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2354/2465] Building C object caffe2/torch/CMakeFiles/torch_python.dir/csrc/dynamo/cpython_defs.c.o
[2355/2465] Building C object caffe2/torch/CMakeFiles/torch_python.dir/csrc/dynamo/eval_frame.c.o
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/dynamo/eval_frame.c: In function ‘torch_c_dynamo_eval_frame_init’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/dynamo/eval_frame.c:735:3: warning: ‘_PyEval_RequestCodeExtraIndex’ is deprecated [-Wdeprecated-declarations]
  735 |   extra_index = _PyEval_RequestCodeExtraIndex(destroy_extra_state);
      |   ^~~~~~~~~~~
In file included from /usr/include/python3.12/ceval.h:161,
                 from /usr/include/python3.12/Python.h:95,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/dynamo/cache_entry.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/dynamo/eval_frame.c:2:
/usr/include/python3.12/cpython/ceval.h:30:1: note: declared here
   30 | _PyEval_RequestCodeExtraIndex(freefunc f) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2356/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/dynamo/extra_state.cpp.o
[2357/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/dynamo/guards.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/class_type.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tracer.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/python_numbers.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/dynamo/guards.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd_not_implemented_fallback.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/autograd.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/all.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/extension.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/dynamo/guards.cpp:11:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2358/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/dynamo/init.cpp.o
[2359/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/functorch/init.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/functorch/init.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2360/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/mps/Module.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/mps/Module.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2361/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/inductor/aoti_runner/pybind.cpp.o
[2362/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/backends/backend_init.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_init.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_init.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:16,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind.h:12:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2363/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/init.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/python_arg_parser.h:55,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/init.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/init.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_init.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/init.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/init.cpp:17:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[2364/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_arg_flatten.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/shape_type_inference.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx.cpp:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2365/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/cast_all_constant_to_floating.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/cast_all_constant_to_floating.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/cast_all_constant_to_floating.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2366/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/deduplicate_initializers.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/deduplicate_initializers.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/deduplicate_initializers.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2367/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/eval_peephole.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/eval_peephole.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/eval_peephole.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2368/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/constant_fold.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/constant_fold.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/constant_fold.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2369/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/constant_map.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/constant_map.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/constant_map.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2370/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/eliminate_unused_items.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/eliminate_unused_items.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/eliminate_unused_items.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2371/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/fixup_onnx_controlflow.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/fixup_onnx_controlflow.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/fixup_onnx_controlflow.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_arg_flatten.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/shape_type_inference.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/fixup_onnx_controlflow.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2372/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/list_model_parameters.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/dead_code_elimination.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/list_model_parameters.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2373/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/function_substitution.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/function_substitution.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/function_substitution.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2374/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/helper.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/helper.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/helper.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2375/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/peephole.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/peephole.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/peephole.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2376/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/preprocess_for_onnx.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/preprocess_for_onnx.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/preprocess_for_onnx.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2377/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/prepare_division_for_onnx.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/prepare_division_for_onnx.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/prepare_division_for_onnx.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2378/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/scalar_type_analysis.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/dead_code_elimination.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/scalar_type_analysis.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2379/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/unpack_quantized_weights.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/unpack_quantized_weights.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/unpack_quantized_weights.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2380/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/remove_inplace_ops_for_onnx.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/helper.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/remove_inplace_ops_for_onnx.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2381/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/shape_type_inference.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/shape_type_inference.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/shape_type_inference.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_arg_flatten.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/shape_type_inference.h:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2382/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/function_extraction.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/function_extraction.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/function_extraction.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2383/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/onnx_log.cpp.o
[2384/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/naming.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/naming.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/naming.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2385/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/pybind_utils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/graph_utils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.cpp: In function ‘pybind11::object torch::jit::toPyObject(c10::IValue)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.cpp:606:21: warning: redundant move in return statement [-Wredundant-move]
  606 |     return std::move(t);
      |            ~~~~~~~~~^~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.cpp:606:21: note: remove ‘std::move’ call
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.cpp:641:23: warning: redundant move in return statement [-Wredundant-move]
  641 |       return std::move(t);
      |              ~~~~~~~~~^~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.cpp:641:23: note: remove ‘std::move’ call
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.cpp:654:21: warning: redundant move in return statement [-Wredundant-move]
  654 |     return std::move(py_dict);
      |            ~~~~~~~~~^~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.cpp:654:21: note: remove ‘std::move’ call
[2386/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/pattern_conversion/autograd_function_process.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/pattern_conversion/autograd_function_process.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/pattern_conversion/autograd_function_process.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2387/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/pattern_conversion/common.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/pattern_conversion/common.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/pattern_conversion/common.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2388/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/pattern_conversion/pattern_encapsulation.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/dead_code_elimination.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/pattern_conversion/pattern_encapsulation.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2389/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/passes/onnx/pattern_conversion/pattern_conversion.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/dead_code_elimination.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/pattern_conversion/pattern_conversion.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2390/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/python_arg_flatten.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_arg_flatten.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_arg_flatten.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:16,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_arg_flatten.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_arg_flatten.cpp: In function ‘pybind11::object torch::jit::python::{anonymous}::cast_dict(std::vector<pybind11::object>)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_arg_flatten.cpp:130:19: warning: redundant move in return statement [-Wredundant-move]
  130 |   return std::move(sequence);
      |          ~~~~~~~~~^~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_arg_flatten.cpp:130:19: note: remove ‘std::move’ call
[2391/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/python_custom_class.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_custom_class.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_custom_class.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:16:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2392/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/python_dict.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_dict.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:16,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_dict.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2393/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/python_interpreter.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/interpreter.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_interpreter.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_interpreter.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_interpreter.cpp:9:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2394/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/python_ir.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_ir.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_ir.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_ir.cpp:14:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2395/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/python_list.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_list.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:16,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_list.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2396/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/python_tracer.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/class_type.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tracer.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_tracer.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/dead_code_elimination.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_tracer.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_tracer.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2397/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/script_init.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/script_init.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/script_init.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/script_init.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/ir_emitter.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/script_init.cpp:11:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[2398/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/frontend/concrete_module_type.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/concrete_module_type.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/concrete_module_type.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/concrete_module_type.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/concrete_module_type.h:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2399/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/frontend/tree_views.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[2400/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/python_sugared_value.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_sugared_value.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_sugared_value.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/concrete_module_type.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_sugared_value.h:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2401/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/python/python_tree_views.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_tree_views.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: warning: redundant move in return statement [-Wredundant-move]
 1263 |   return std::move(synthesised_union);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call
[2402/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/runtime/static/init.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/init.h:1,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/static/init.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:16:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2403/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/jit/tensorexpr/tensorexpr_init.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/tensorexpr/tensorexpr_init.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:16:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2404/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/monitor/python_init.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/python_arg_parser.h:55,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/monitor/python_init.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2405/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/multiprocessing/init.cpp.o
[2406/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/onnx/init.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/onnx/init.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/python_arg_flatten.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/onnx/shape_type_inference.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/onnx/init.cpp:28:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2407/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/profiler/python/init.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/orchestration/observer.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/api.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/kineto_shim.h:62,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/collection.h:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/python/init.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/python/init.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:16,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/python/init.cpp:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2408/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/profiler/python/combined_traceback.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/record_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ThreadLocalState.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/interpreter.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/combined_traceback.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/python/combined_traceback.h:1,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/profiler/python/combined_traceback.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2409/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/serialization.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Size.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/THP.h:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/serialization.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2410/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/tensor/python_tensor.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd_not_implemented_fallback.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/tensor/python_tensor.cpp:11:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2411/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/init.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/init.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/throughput_benchmark.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/init.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/throughput_benchmark.h:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2412/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/throughput_benchmark.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/throughput_benchmark.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/throughput_benchmark.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/function_impl.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/method.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/object.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/api/module.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/throughput_benchmark.h:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/throughput_benchmark.h:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2413/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Size.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/THP.h:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2414/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/device_lazy_init.cpp.o
[2415/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/invalid_arguments.cpp.o
[2416/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/nested.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/nested.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd_not_implemented_fallback.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/autograd.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/all.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/api/include/torch/torch.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/nested.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2417/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/object_ptr.cpp.o
[2418/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/python_arg_parser.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/python_arg_parser.h:55,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/python_arg_parser.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2419/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/python_dispatch.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/frontend/function_schema_parser.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/python_dispatch.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/python_dispatch.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/python_dispatch.cpp:18:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2420/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/python_symnode.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/python_symnode.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/python_symnode.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2421/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/pybind.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/python_arg_parser.h:55,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/pybind.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2422/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/pyobject_preservation.cpp.o
[2423/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/structseq.cpp.o
[2424/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/tensor_apply.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/aten/src/ATen/ops/view.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ExpandUtils.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/tensor_apply.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2425/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/tensor_dtypes.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd_not_implemented_fallback.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/tensor_dtypes.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2426/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/tensor_layouts.cpp.o
[2427/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/tensor_memoryformats.cpp.o
[2428/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/tensor_qschemes.cpp.o
[2429/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/tensor_list.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/tensor_list.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2430/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/tensor_new.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/python_arg_parser.h:55,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/tensor_new.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/tensor_new.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2431/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/tensor_numpy.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/WrapDimUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/TensorNames.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/NamedTensorUtils.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/variable.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/Size.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/THP.h:20,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/tensor_numpy.cpp:1:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2432/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/tensor_types.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/op_registration/infer_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:61,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/autograd_not_implemented_fallback.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/generated/VariableType.h:11,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/tensor_types.cpp:8:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2433/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/disable_torch_function.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/autograd/python_variable.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/utils/disable_torch_function.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
[2434/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/utils/verbose.cpp.o
[2435/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/cpu/Module.cpp.o
[2436/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/lazy/python/init.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/python/init.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/FunctionalTensorWrapper.h:10:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/python/init.cpp:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2437/2465] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/lazy/python/python_util.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/named_value.h:2,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/passes/symbolic_shape_analysis.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/shape.h:7,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/backend/backend_data.h:4,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/tensor.h:5,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/core/debug_util.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/lazy/python/python_util.cpp:6:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/runtime/operator.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/ir/ir.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2438/2465] Building CXX object caffe2/torch/CMakeFiles/nnapi_backend.dir/csrc/jit/backends/nnapi/nnapi_backend_lib.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/DeviceGuard.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/ATen.h:9,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/nnapi/nnapi_bind.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/nnapi/nnapi_backend_lib.cpp:3:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/nnapi/nnapi_bind.h:7:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
[2439/2465] Building CXX object caffe2/torch/CMakeFiles/nnapi_backend.dir/csrc/jit/backends/nnapi/nnapi_backend_preprocess.cpp.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue_inl.h:10,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/ivalue.h:1555,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function_schema.h:8,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/builtin_function.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/nnapi/nnapi_backend_preprocess.cpp:2:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef<at::OptionalTensorRef> c10::detail::IListRefTagImpl<c10::IListRefTag::Boxed, at::OptionalTensorRef>::iterator_get(const c10::List<std::optional<at::Tensor> >::const_iterator&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  171 |     const auto& ivalue = (*it).get();
      |                 ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<std::optional<at::Tensor>, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::get()’
  171 |     const auto& ivalue = (*it).get();
      |                          ~~~~~~~~~^~
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/OperatorEntry.h:12,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/Dispatcher.h:6,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/library.h:63,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/custom_class.h:14,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend_interface.h:3,
                 from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/backend.h:5:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                ^~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator*().c10::impl::ListElementReference<at::Tensor, __gnu_cxx::__normal_iterator<c10::IValue*, std::vector<c10::IValue> > >::operator std::conditional_t<true, const at::Tensor&, at::Tensor>()’
  154 |         for (const at::Tensor& tensor : ivalue.toTensorList()) {
      |                                                             ^
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/backends/nnapi/nnapi_backend_preprocess.cpp:4:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: warning: redundant move in return statement [-Wredundant-move]
  968 |   return std::move(return_values);
      |          ~~~~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call
[2440/2465] Building CXX object caffe2/torch/lib/libshm/CMakeFiles/shm.dir/core.cpp.o
[2441/2465] Linking CXX shared library lib/libshm.so
Warning: Unused direct dependencies:
	/lib64/libprotobuf.so.30
	/lib64/libm.so.6
[2442/2465] Linking CXX shared library lib/libtorch_python.so
Warning: Unused direct dependencies:
	/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/lib/libtorch.so
[2443/2465] Linking CXX shared library lib/libnnapi_backend.so
Warning: Unused direct dependencies:
	/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/lib/libtorch.so
[2444/2465] Building CXX object caffe2/torch/lib/libshm/CMakeFiles/torch_shm_manager.dir/manager.cpp.o
[2445/2465] Linking CXX executable bin/torch_shm_manager
FAILED: bin/torch_shm_manager 
: && /usr/bin/g++ -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=pedantic -Wno-error=old-style-cast -Wno-missing-braces -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O2 -g -DNDEBUG -pie -rdynamic     -Wl,--no-as-needed caffe2/torch/lib/libshm/CMakeFiles/torch_shm_manager.dir/manager.cpp.o -o bin/torch_shm_manager  -Wl,-rpath,/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/lib:  lib/libshm.so  -lrt  lib/libc10.so  -Wl,-rpath-link,/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/lib && /usr/bin/cmake -E __run_co_compile --lwyu="ldd;-u;-r" --source=bin/torch_shm_manager && :
/usr/bin/ld: /usr/lib64/libgdal.so.34: undefined reference to `arrow::KeyValueMetadata::Contains(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /usr/lib64/libgdal.so.34: undefined reference to `arrow::KeyValueMetadata::Get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Building wheel torch-2.3.0a0+gitUnknown
-- Building version 2.3.0a0+gitUnknown
cmake3 -GNinja -DBUILD_CAFFE2=ON -DBUILD_CUSTOM_PROTOBUF=OFF -DBUILD_NVFUSER=OFF -DBUILD_PYTHON=True -DBUILD_SHARED_LIBS=ON -DBUILD_TEST=False -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_EXE_LINKER_FLAGS=-pie -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON -DCMAKE_INSTALL_PREFIX=/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch -DCMAKE_PREFIX_PATH=/usr/lib/python3.12/site-packages -DNUMPY_INCLUDE_DIR=/usr/lib64/python3.12/site-packages/numpy/core/include -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYTHON_INCLUDE_DIR=/usr/include/python3.12 -DPYTHON_LIBRARY=/usr/lib64/libpython3.12.so.1.0 -DTORCH_BUILD_VERSION=2.3.0a0+gitUnknown -DUSE_CUDA=OFF -DUSE_DISTRIBUTED=OFF -DUSE_FBGEMM=OFF -DUSE_GOLD_LINKER=OFF -DUSE_ITT=OFF -DUSE_KINETO=OFF -DUSE_LITE_INTERPRETER_PROFILER=OFF -DUSE_LITE_PROTO=OFF -DUSE_MKLDNN=OFF -DUSE_NCCL=OFF -DUSE_NNPACK=OFF -DUSE_NUMPY=True -DUSE_OPENCV=ON -DUSE_OPENMP=ON -DUSE_PYTORCH_QNNPACK=OFF -DUSE_QNNPACK=OFF -DUSE_ROCM=OFF -DUSE_SYSTEM_CPUINFO=ON -DUSE_SYSTEM_EIGEN_INSTALL=ON -DUSE_SYSTEM_FP16=ON -DUSE_SYSTEM_FXDIV=ON -DUSE_SYSTEM_LIBS=OFF -DUSE_SYSTEM_ONNX=ON -DUSE_SYSTEM_PSIMD=ON -DUSE_SYSTEM_PTHREADPOOL=ON -DUSE_SYSTEM_PYBIND11=OFF -DUSE_SYSTEM_SLEEF=ON -DUSE_SYSTEM_XNNPACK=ON -DUSE_TENSORPIPE=OFF -DUSE_XNNPACK=ON /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc
cmake3 --build . --target install --config RelWithDebInfo -- -j 1
error: Bad exit status from /var/tmp/rpm-tmp.Gg5oir (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.Gg5oir (%build)
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M efa9c2987498481585e4d201c8434dad -D /var/lib/mock/f41-build-49707645-5925339/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.08hj_itw:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-torch.spec\'\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M efa9c2987498481585e4d201c8434dad -D /var/lib/mock/f41-build-49707645-5925339/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.08hj_itw:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-torch.spec'



Extracted relevant lines:
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:  1099 |   TransformImage<Context>(
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |   ~~~~~~~~~~~~~~~~~~~~~~~^
    1100 |       img,
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:  1151 | bool ImageInputOp<Context>::Prefetch() {
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:825:19: warning:       |      ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:844:21: warning: unused variable ‘w’ [-Wunused-variable]
  844 |     for (const auto w : c10::irange(img_size)) {
      |                     ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:843:19: warning: unused variable ‘h’ [-Wunused-variable]
  843 |   for (const auto h : c10::irange(img_size)) {
      |                   ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:858:23: warning: unused variable ‘c’ [-Wunused-variable]
  857 |     for (const auto w : c10::irange(img_size)) {
      |                     ^
/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/caffe2/image/image_input_op.h:856:19: warning: unused variable ‘h’ [-Wunused-variable]
  856 |   for (const auto h : c10::irange(img_size)) {
      |                   ^
[1355/2465] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/observers/profile_observer.cc.o
In file included from /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/aten/src/ATen/core/IListRef.h:631,
	/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/lib/libtorch.so
[2444/2465] Building CXX object caffe2/torch/lib/libshm/CMakeFiles/torch_shm_manager.dir/manager.cpp.o
[2445/2465] Linking CXX executable bin/torch_shm_manager
FAILED: bin/torch_shm_manager 
: && /usr/bin/g++ -O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=pedantic -Wno-error=old-style-cast -Wno-missing-braces -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O2 -g -DNDEBUG -pie -rdynamic     -Wl,--no-as-needed caffe2/torch/lib/libshm/CMakeFiles/torch_shm_manager.dir/manager.cpp.o -o bin/torch_shm_manager  -Wl,-rpath,/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/lib:  lib/libshm.so  -lrt  lib/libc10.so  -Wl,-rpath-link,/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/build/lib && /usr/bin/cmake -E __run_co_compile --lwyu="ldd;-u;-r" --source=bin/torch_shm_manager && :
/usr/bin/ld: /usr/lib64/libgdal.so.34: undefined reference to `arrow::KeyValueMetadata::Contains(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: /usr/lib64/libgdal.so.34: undefined reference to `arrow::KeyValueMetadata::Get(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Building wheel torch-2.3.0a0+gitUnknown
-- Building version 2.3.0a0+gitUnknown
cmake3 -GNinja -DBUILD_CAFFE2=ON -DBUILD_CUSTOM_PROTOBUF=OFF -DBUILD_NVFUSER=OFF -DBUILD_PYTHON=True -DBUILD_SHARED_LIBS=ON -DBUILD_TEST=False -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_EXE_LINKER_FLAGS=-pie -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON -DCMAKE_INSTALL_PREFIX=/builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc/torch -DCMAKE_PREFIX_PATH=/usr/lib/python3.12/site-packages -DNUMPY_INCLUDE_DIR=/usr/lib64/python3.12/site-packages/numpy/core/include -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYTHON_INCLUDE_DIR=/usr/include/python3.12 -DPYTHON_LIBRARY=/usr/lib64/libpython3.12.so.1.0 -DTORCH_BUILD_VERSION=2.3.0a0+gitUnknown -DUSE_CUDA=OFF -DUSE_DISTRIBUTED=OFF -DUSE_FBGEMM=OFF -DUSE_GOLD_LINKER=OFF -DUSE_ITT=OFF -DUSE_KINETO=OFF -DUSE_LITE_INTERPRETER_PROFILER=OFF -DUSE_LITE_PROTO=OFF -DUSE_MKLDNN=OFF -DUSE_NCCL=OFF -DUSE_NNPACK=OFF -DUSE_NUMPY=True -DUSE_OPENCV=ON -DUSE_OPENMP=ON -DUSE_PYTORCH_QNNPACK=OFF -DUSE_QNNPACK=OFF -DUSE_ROCM=OFF -DUSE_SYSTEM_CPUINFO=ON -DUSE_SYSTEM_EIGEN_INSTALL=ON -DUSE_SYSTEM_FP16=ON -DUSE_SYSTEM_FXDIV=ON -DUSE_SYSTEM_LIBS=OFF -DUSE_SYSTEM_ONNX=ON -DUSE_SYSTEM_PSIMD=ON -DUSE_SYSTEM_PTHREADPOOL=ON -DUSE_SYSTEM_PYBIND11=OFF -DUSE_SYSTEM_SLEEF=ON -DUSE_SYSTEM_XNNPACK=ON -DUSE_TENSORPIPE=OFF -DUSE_XNNPACK=ON /builddir/build/BUILD/pytorch-975d4284250170602db60adfda5eb1664a3b8acc
EXCEPTION: [Error('Command failed: 
 # /usr/bin/systemd-nspawn -q -M efa9c2987498481585e4d201c8434dad -D /var/lib/mock/f41-build-49707645-5925339/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.08hj_itw:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"\' \'--setenv=PS1=<mock-chroot> \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-torch.spec\'
', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
  File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: 
 # %s
%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # /usr/bin/systemd-nspawn -q -M efa9c2987498481585e4d201c8434dad -D /var/lib/mock/f41-build-49707645-5925339/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.08hj_itw:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-torch.spec'