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 aarch64 --nodeps /builddir/build/SPECS/python-torch.spec'], chrootPath='/var/lib/mock/f41-build-51561648-6168230/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.otdgu2ci:/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.otdgu2ci:/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', '31168ea5676e46a6bb210a41448c46a3', '-D', '/var/lib/mock/f41-build-51561648-6168230/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.otdgu2ci:/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;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1718064000 Wrote: /builddir/build/SRPMS/python-torch-2.3.1-6.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-torch.spec'], chrootPath='/var/lib/mock/f41-build-51561648-6168230/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.otdgu2ci:/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.otdgu2ci:/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', '8240f574bd2743c498ce72f41e6074de', '-D', '/var/lib/mock/f41-build-51561648-6168230/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.otdgu2ci:/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;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1718064000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.vCkzRx + umask 022 + cd /builddir/build/BUILD/python-torch-2.3.1-build + test -d /builddir/build/BUILD/python-torch-2.3.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-torch-2.3.1-build + /usr/bin/rm -rf /builddir/build/BUILD/python-torch-2.3.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-torch-2.3.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-torch-2.3.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FhC0Fh + umask 022 + cd /builddir/build/BUILD/python-torch-2.3.1-build + cd /builddir/build/BUILD/python-torch-2.3.1-build + rm -rf pytorch-v2.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytorch-v2.3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytorch-v2.3.1 + /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-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-reenable-foxi-linking.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Reenable-dim-for-python-3.12.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Optionally-use-hipblaslt.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-cuda-hip-signatures.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-silence-an-assert.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-can-not-use-with-c-files.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-use-any-hip.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-disable-use-of-aotriton.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf torch.egg-info + tar xf /builddir/build/SOURCES/v23.3.3.tar.gz + rm -rf third_party/flatbuffers/BUILD.bazel third_party/flatbuffers/CHANGELOG.md third_party/flatbuffers/CMake third_party/flatbuffers/CMakeLists.txt third_party/flatbuffers/CONTRIBUTING.md third_party/flatbuffers/FlatBuffers.podspec third_party/flatbuffers/Formatters.md third_party/flatbuffers/LICENSE third_party/flatbuffers/Package.swift third_party/flatbuffers/Package@swift-5.5.swift third_party/flatbuffers/SECURITY.md third_party/flatbuffers/WORKSPACE third_party/flatbuffers/android third_party/flatbuffers/bazel third_party/flatbuffers/benchmarks third_party/flatbuffers/build_defs.bzl third_party/flatbuffers/composer.json third_party/flatbuffers/conan third_party/flatbuffers/conanfile.py third_party/flatbuffers/dart third_party/flatbuffers/docs third_party/flatbuffers/examples third_party/flatbuffers/go third_party/flatbuffers/grpc third_party/flatbuffers/include third_party/flatbuffers/java third_party/flatbuffers/js third_party/flatbuffers/kotlin third_party/flatbuffers/lobster third_party/flatbuffers/lua third_party/flatbuffers/mjs third_party/flatbuffers/net third_party/flatbuffers/nim third_party/flatbuffers/package.json third_party/flatbuffers/php third_party/flatbuffers/python third_party/flatbuffers/readme.md third_party/flatbuffers/reflection third_party/flatbuffers/rust third_party/flatbuffers/samples third_party/flatbuffers/scripts third_party/flatbuffers/snap third_party/flatbuffers/src third_party/flatbuffers/swift third_party/flatbuffers/swift.swiftformat third_party/flatbuffers/tests third_party/flatbuffers/ts third_party/flatbuffers/tsconfig.json third_party/flatbuffers/tsconfig.mjs.json third_party/flatbuffers/typescript.bzl third_party/flatbuffers/yarn.lock + 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 + rm -rf third_party/pybind11/CMakeLists.txt third_party/pybind11/LICENSE third_party/pybind11/MANIFEST.in third_party/pybind11/README.rst third_party/pybind11/SECURITY.md third_party/pybind11/docs third_party/pybind11/include third_party/pybind11/noxfile.py third_party/pybind11/pybind11 third_party/pybind11/pyproject.toml third_party/pybind11/setup.cfg third_party/pybind11/setup.py third_party/pybind11/tests third_party/pybind11/tools + 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/ + tar xf /builddir/build/SOURCES/tensorpipe-52791a2.tar.gz + rm -rf third_party/tensorpipe/CMakeLists.txt third_party/tensorpipe/CODE_OF_CONDUCT.md third_party/tensorpipe/CONTRIBUTING.md third_party/tensorpipe/LICENSE.txt third_party/tensorpipe/README.md third_party/tensorpipe/cmake third_party/tensorpipe/docs third_party/tensorpipe/setup.py third_party/tensorpipe/tensorpipe third_party/tensorpipe/third_party + cp -r tensorpipe-52791a2fd214b2a9dc5759d36725909c1daa7f2e/CMakeLists.txt tensorpipe-52791a2fd214b2a9dc5759d36725909c1daa7f2e/CODE_OF_CONDUCT.md tensorpipe-52791a2fd214b2a9dc5759d36725909c1daa7f2e/CONTRIBUTING.md tensorpipe-52791a2fd214b2a9dc5759d36725909c1daa7f2e/LICENSE.txt tensorpipe-52791a2fd214b2a9dc5759d36725909c1daa7f2e/README.md tensorpipe-52791a2fd214b2a9dc5759d36725909c1daa7f2e/cmake tensorpipe-52791a2fd214b2a9dc5759d36725909c1daa7f2e/docs tensorpipe-52791a2fd214b2a9dc5759d36725909c1daa7f2e/setup.py tensorpipe-52791a2fd214b2a9dc5759d36725909c1daa7f2e/tensorpipe tensorpipe-52791a2fd214b2a9dc5759d36725909c1daa7f2e/third_party third_party/tensorpipe/ + tar xf /builddir/build/SOURCES/v1.41.0.tar.gz + rm -rf 'third_party/tensorpipe/third_party/libuv/*' + cp -r libuv-1.41.0/AUTHORS libuv-1.41.0/CMakeLists.txt libuv-1.41.0/CONTRIBUTING.md libuv-1.41.0/ChangeLog libuv-1.41.0/LICENSE libuv-1.41.0/LICENSE-docs libuv-1.41.0/MAINTAINERS.md libuv-1.41.0/Makefile.am libuv-1.41.0/README.md libuv-1.41.0/SUPPORTED_PLATFORMS.md libuv-1.41.0/autogen.sh libuv-1.41.0/configure.ac libuv-1.41.0/docs libuv-1.41.0/img libuv-1.41.0/include libuv-1.41.0/libuv-static.pc.in libuv-1.41.0/libuv.pc.in libuv-1.41.0/m4 libuv-1.41.0/src libuv-1.41.0/test libuv-1.41.0/tools libuv-1.41.0/uv_win_longpath.manifest third_party/tensorpipe/third_party/libuv/ + tar xf /builddir/build/SOURCES/libnop-910b558.tar.gz + rm -rf 'third_party/tensorpipe/third_party/libnop/*' + cp -r libnop-910b55815be16109f04f4180e9adee14fb4ce281/AUTHORS libnop-910b55815be16109f04f4180e9adee14fb4ce281/CONTRIBUTING.md libnop-910b55815be16109f04f4180e9adee14fb4ce281/LICENSE libnop-910b55815be16109f04f4180e9adee14fb4ce281/Makefile libnop-910b55815be16109f04f4180e9adee14fb4ce281/README.md libnop-910b55815be16109f04f4180e9adee14fb4ce281/build libnop-910b55815be16109f04f4180e9adee14fb4ce281/docs libnop-910b55815be16109f04f4180e9adee14fb4ce281/examples libnop-910b55815be16109f04f4180e9adee14fb4ce281/include libnop-910b55815be16109f04f4180e9adee14fb4ce281/test third_party/tensorpipe/third_party/libnop/ + 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 + sed -i -e /aotriton.cmake/d cmake/Dependencies.cmake + sed -i -e s@fmt::fmt-header-only@fmt@ CMakeLists.txt + sed -i -e s@fmt::fmt-header-only@fmt@ c10/CMakeLists.txt + sed -i -e s@fmt::fmt-header-only@fmt@ torch/CMakeLists.txt + sed -i -e s@fmt::fmt-header-only@fmt@ cmake/Dependencies.cmake + sed -i -e 's@add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/fmt)@#add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/fmt)@' cmake/Dependencies.cmake + sed -i -e 's@set_target_properties(fmt-header-only PROPERTIES INTERFACE_COMPILE_FEATURES "")@#set_target_properties(fmt-header-only PROPERTIES INTERFACE_COMPILE_FEATURES "")@' cmake/Dependencies.cmake + sed -i -e 's@list(APPEND Caffe2_DEPENDENCY_LIBS fmt::fmt-header-only)@#list(APPEND Caffe2_DEPENDENCY_LIBS fmt::fmt-header-only)@' cmake/Dependencies.cmake + sed -i -e 's@if(NOT TARGET fxdiv)@if(MSVC AND USE_XNNPACK)@' caffe2/CMakeLists.txt + sed -i -e 's@TARGET_LINK_LIBRARIES(torch_cpu PRIVATE fxdiv)@#TARGET_LINK_LIBRARIES(torch_cpu PRIVATE fxdiv)@' caffe2/CMakeLists.txt + sed -i -e 's@check_submodules()$@#check_submodules()@' setup.py + mv third_party/miniz-2.1.0 . + mv third_party/build_bundled.py . + mv third_party/flatbuffers . + mv third_party/pybind11 . + mv third_party/tensorpipe . + 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.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 + mv tensorpipe 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.fzfMy5 + umask 022 + cd /builddir/build/BUILD/python-torch-2.3.1-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -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-v2.3.1 ++ cat /proc/cpuinfo ++ grep -m 1 'cpu cores' ++ awk '{ print $4 }' + COMPILE_JOBS= + '[' x = x ']' + COMPILE_JOBS=1 + BUILD_MEM=2 + MEM_KB=0 ++ cat /proc/meminfo ++ grep MemTotal ++ awk '{ print $2 }' + MEM_KB=36860592 ++ eval 'expr 36860592 / 1024' +++ expr 36860592 / 1024 + MEM_MB=35996 ++ eval 'expr 35996 / 1024' +++ expr 35996 / 1024 + MEM_GB=35 ++ eval 'expr 1 + 35 / 2' +++ expr 1 + 35 / 2 + COMPILE_JOBS_MEM=18 + '[' 18 -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_FLASH_ATTENTION=OFF + USE_FLASH_ATTENTION=OFF + export USE_GOLD_LINKER=OFF + USE_GOLD_LINKER=OFF + export USE_GLOO=OFF + USE_GLOO=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_MAGMA=OFF + USE_MAGMA=OFF + export USE_MKLDNN=OFF + USE_MKLDNN=OFF + export USE_MPI=OFF + USE_MPI=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_SLEEF=ON + USE_SYSTEM_SLEEF=ON + export USE_SYSTEM_EIGEN_INSTALL=ON + USE_SYSTEM_EIGEN_INSTALL=ON + export USE_SYSTEM_ONNX=ON + USE_SYSTEM_ONNX=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 USE_SYSTEM_PTHREADPOOL=ON + USE_SYSTEM_PTHREADPOOL=ON + export USE_SYSTEM_CPUINFO=ON + USE_SYSTEM_CPUINFO=ON + export USE_SYSTEM_FP16=ON + USE_SYSTEM_FP16=ON + export USE_SYSTEM_FXDIV=ON + USE_SYSTEM_FXDIV=ON + export USE_SYSTEM_PSIMD=ON + USE_SYSTEM_PSIMD=ON + export USE_SYSTEM_XNNPACK=ON + USE_SYSTEM_XNNPACK=ON + export BUILD_CAFFE2=ON + BUILD_CAFFE2=ON + export USE_DISTRIBUTED=ON + USE_DISTRIBUTED=ON + export USE_TENSORPIPE=ON + USE_TENSORPIPE=ON + export TP_BUILD_LIBUV=OFF + TP_BUILD_LIBUV=OFF + export USE_MPI=ON + USE_MPI=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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 -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.1.1 -- The C compiler identification is GNU 14.1.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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/abi-check.cpp -o /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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 - Failed -- Performing Test C_HAS_AVX_3 -- Performing Test C_HAS_AVX_3 - Failed -- 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 - Failed -- Performing Test C_HAS_AVX2_3 -- Performing Test C_HAS_AVX2_3 - Failed -- 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 - Failed -- Performing Test C_HAS_AVX512_3 -- Performing Test C_HAS_AVX512_3 - Failed -- 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 - Failed -- Performing Test CXX_HAS_AVX_3 -- Performing Test CXX_HAS_AVX_3 - Failed -- 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 - Failed -- Performing Test CXX_HAS_AVX2_3 -- Performing Test CXX_HAS_AVX2_3 - Failed -- 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 - Failed -- Performing Test CXX_HAS_AVX512_3 -- Performing Test CXX_HAS_AVX512_3 - Failed -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS - Failed -- 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:754 (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:754 (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/python-torch-2.3.1-build/pytorch-v2.3.1/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:754 (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:754 (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:754 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.13", 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:754 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonLibs: /usr/lib64/libpython3.13.so.1.0 (found suitable version "3.13.0b2", minimum required is "3.0") -- Using third_party/pybind11. -- pybind11 include dirs: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/cmake/../third_party/pybind11/include -- Checking for module 'mpi-c' -- Package 'mpi-c', required by 'virtual:world', not found -- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) -- Checking for module 'mpi-cxx' -- Package 'mpi-cxx', required by 'virtual:world', not found -- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) -- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND) CMake Warning at cmake/Dependencies.cmake:1182 (message): Not compiling with MPI. Suppress this warning with -DUSE_MPI=OFF Call Stack (most recent call first): CMakeLists.txt:754 (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 Deprecation Warning at third_party/tensorpipe/third_party/libuv/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Performing Test UV_LINT_W4 -- Performing Test UV_LINT_W4 - Failed -- Performing Test UV_LINT_NO_UNUSED_PARAMETER_MSVC -- Performing Test UV_LINT_NO_UNUSED_PARAMETER_MSVC - Failed -- Performing Test UV_LINT_NO_CONDITIONAL_CONSTANT_MSVC -- Performing Test UV_LINT_NO_CONDITIONAL_CONSTANT_MSVC - Failed -- Performing Test UV_LINT_NO_NONSTANDARD_MSVC -- Performing Test UV_LINT_NO_NONSTANDARD_MSVC - Failed -- Performing Test UV_LINT_NO_NONSTANDARD_EMPTY_TU_MSVC -- Performing Test UV_LINT_NO_NONSTANDARD_EMPTY_TU_MSVC - Failed -- Performing Test UV_LINT_NO_NONSTANDARD_FILE_SCOPE_MSVC -- Performing Test UV_LINT_NO_NONSTANDARD_FILE_SCOPE_MSVC - Failed -- Performing Test UV_LINT_NO_NONSTANDARD_NONSTATIC_DLIMPORT_MSVC -- Performing Test UV_LINT_NO_NONSTANDARD_NONSTATIC_DLIMPORT_MSVC - Failed -- Performing Test UV_LINT_NO_HIDES_LOCAL -- Performing Test UV_LINT_NO_HIDES_LOCAL - Failed -- Performing Test UV_LINT_NO_HIDES_PARAM -- Performing Test UV_LINT_NO_HIDES_PARAM - Failed -- Performing Test UV_LINT_NO_HIDES_GLOBAL -- Performing Test UV_LINT_NO_HIDES_GLOBAL - Failed -- Performing Test UV_LINT_NO_CONDITIONAL_ASSIGNMENT_MSVC -- Performing Test UV_LINT_NO_CONDITIONAL_ASSIGNMENT_MSVC - Failed -- Performing Test UV_LINT_NO_UNSAFE_MSVC -- Performing Test UV_LINT_NO_UNSAFE_MSVC - Failed -- Performing Test UV_LINT_WALL -- Performing Test UV_LINT_WALL - Success -- Performing Test UV_LINT_NO_UNUSED_PARAMETER -- Performing Test UV_LINT_NO_UNUSED_PARAMETER - Success -- Performing Test UV_LINT_STRICT_PROTOTYPES -- Performing Test UV_LINT_STRICT_PROTOTYPES - Success -- Performing Test UV_LINT_EXTRA -- Performing Test UV_LINT_EXTRA - Success -- Performing Test UV_LINT_UTF8_MSVC -- Performing Test UV_LINT_UTF8_MSVC - Failed -- Performing Test UV_F_STRICT_ALIASING -- Performing Test UV_F_STRICT_ALIASING - Success -- summary of build options: Install prefix: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch Target system: Linux Compiler: C compiler: /usr/bin/gcc 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -- Found uv: 1.38.1 (found version "1.38.1") CMake Warning at cmake/Dependencies.cmake:1516 (message): Metal is only used in ios builds. Call Stack (most recent call first): CMakeLists.txt:754 (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 -- MAGMA not found. Compiling without MAGMA support 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:754 (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. -- asimd/Neon found with compiler flag : -D__NEON__ -- 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). disabling CUDA because NOT USE_CUDA is set disabling ROCM because NOT USE_ROCM is set disabling MKLDNN because USE_MKLDNN is not set -- MIOpen not found. Compiling without MIOpen support -- 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 -- 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:754 (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 -- check z15 -- Performing Test COMPILE_OUT_z15 -- Performing Test COMPILE_OUT_z15 - Failed -- check z14 -- Performing Test COMPILE_OUT_z14 -- Performing Test COMPILE_OUT_z14 - Failed -- -- GCC 14.1.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_VST1 -- Performing Test HAS_VST1 - Success -- Performing Test HAS_VLD1 -- Performing Test HAS_VLD1 - 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: -- 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/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/core/TensorBody.h core header install: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/core/aten_interned_strings.h core header install: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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.13/site-packages as python relative installation path CMake Warning at CMakeLists.txt:1148 (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.1.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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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 : 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;FLASHATTENTION_DISABLE_ALIBI -- CMAKE_PREFIX_PATH : /usr/lib/python3.13/site-packages -- CMAKE_INSTALL_PREFIX : /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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.13 -- Python executable : /usr/bin/python3 -- Pythonlibs version : 3.13.0b2 -- Python library : /usr/lib64/libpython3.13.so.1.0 -- Python includes : /usr/include/python3.13 -- Python site-packages: lib/python3.13/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 : ON -- USE_MPI : OFF -- USE_GLOO : OFF -- USE_GLOO_WITH_OPENSSL : OFF -- USE_TENSORPIPE : ON -- 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;tensorpipe;aten_op_header_gen;onnx_proto;onnx;foxi_loader;rt;fmt;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 (21.7s) -- Generating done (0.6s) -- Build files have been written to: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build [1/4] Generating ATen headers [2/4] Generating ATen sources [3/4] Generating ATen declarations_yaml [1/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/fs-poll.c.o [2/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/idna.c.o [3/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/inet.c.o [4/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/random.c.o [5/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/strscpy.c.o [6/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/threadpool.c.o [7/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/timer.c.o [8/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/uv-common.c.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/uv-common.h:42, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/uv-common.c:23: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/uv-common.c: In function ‘uv_walk’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/queue.h:68:19: warning: storing the address of local variable ‘queue’ in ‘((void * (**)[2])MEM[(void *[2] * *)loop_13(D) + 16B])[1]’ [-Wdangling-pointer=] 68 | QUEUE_PREV(q) = (n); \ | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/queue.h:78:7: note: in expansion of macro ‘QUEUE_SPLIT’ 78 | QUEUE_SPLIT(h, q, n); \ | ^~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/uv-common.c:491:3: note: in expansion of macro ‘QUEUE_MOVE’ 491 | QUEUE_MOVE(&loop->handle_queue, &queue); | ^~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/uv-common.c:487:9: note: ‘queue’ declared here 487 | QUEUE queue; | ^~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/uv-common.c:486:25: note: ‘loop’ declared here 486 | void uv_walk(uv_loop_t* loop, uv_walk_cb walk_cb, void* arg) { | ~~~~~~~~~~~^~~~ [9/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/uv-data-getter-setters.c.o [10/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/version.c.o [11/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/async.c.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/uv-common.h:42, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/internal.h:25, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/async.c:26: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/async.c: In function ‘uv__async_io’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/queue.h:68:19: warning: storing the address of local variable ‘queue’ in ‘((void * (**)[2])MEM[(void *[2] * *)loop_22(D) + 440B])[1]’ [-Wdangling-pointer=] 68 | QUEUE_PREV(q) = (n); \ | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/queue.h:78:7: note: in expansion of macro ‘QUEUE_SPLIT’ 78 | QUEUE_SPLIT(h, q, n); \ | ^~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/async.c:149:3: note: in expansion of macro ‘QUEUE_MOVE’ 149 | QUEUE_MOVE(&loop->async_handles, &queue); | ^~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/async.c:125:9: note: ‘queue’ declared here 125 | QUEUE queue; | ^~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/async.c:122:37: note: ‘loop’ declared here 122 | static void uv__async_io(uv_loop_t* loop, uv__io_t* w, unsigned int events) { | ~~~~~~~~~~~^~~~ [12/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/core.c.o [13/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/dl.c.o [14/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/fs.c.o [15/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/getaddrinfo.c.o [16/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/getnameinfo.c.o [17/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/loop-watcher.c.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/uv-common.h:42, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/internal.h:25, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:23: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c: In function ‘uv__run_prepare’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/queue.h:68:19: warning: storing the address of local variable ‘queue’ in ‘((void * (**)[2])MEM[(void *[2] * *)loop_12(D) + 392B])[1]’ [-Wdangling-pointer=] 68 | QUEUE_PREV(q) = (n); \ | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/queue.h:78:7: note: in expansion of macro ‘QUEUE_SPLIT’ 78 | QUEUE_SPLIT(h, q, n); \ | ^~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:52:5: note: in expansion of macro ‘QUEUE_MOVE’ 52 | QUEUE_MOVE(&loop->name##_handles, &queue); \ | ^~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:66:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’ 66 | UV_LOOP_WATCHER_DEFINE(prepare, PREPARE) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:50:11: note: ‘queue’ declared here 50 | QUEUE queue; \ | ^~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:66:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’ 66 | UV_LOOP_WATCHER_DEFINE(prepare, PREPARE) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:48:34: note: ‘loop’ declared here 48 | void uv__run_##name(uv_loop_t* loop) { \ | ~~~~~~~~~~~^~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:66:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’ 66 | UV_LOOP_WATCHER_DEFINE(prepare, PREPARE) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c: In function ‘uv__run_check’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/queue.h:68:19: warning: storing the address of local variable ‘queue’ in ‘((void * (**)[2])MEM[(void *[2] * *)loop_12(D) + 408B])[1]’ [-Wdangling-pointer=] 68 | QUEUE_PREV(q) = (n); \ | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/queue.h:78:7: note: in expansion of macro ‘QUEUE_SPLIT’ 78 | QUEUE_SPLIT(h, q, n); \ | ^~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:52:5: note: in expansion of macro ‘QUEUE_MOVE’ 52 | QUEUE_MOVE(&loop->name##_handles, &queue); \ | ^~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:67:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’ 67 | UV_LOOP_WATCHER_DEFINE(check, CHECK) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:50:11: note: ‘queue’ declared here 50 | QUEUE queue; \ | ^~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:67:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’ 67 | UV_LOOP_WATCHER_DEFINE(check, CHECK) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:48:34: note: ‘loop’ declared here 48 | void uv__run_##name(uv_loop_t* loop) { \ | ~~~~~~~~~~~^~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:67:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’ 67 | UV_LOOP_WATCHER_DEFINE(check, CHECK) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c: In function ‘uv__run_idle’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/queue.h:68:19: warning: storing the address of local variable ‘queue’ in ‘((void * (**)[2])MEM[(void *[2] * *)loop_12(D) + 424B])[1]’ [-Wdangling-pointer=] 68 | QUEUE_PREV(q) = (n); \ | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/queue.h:78:7: note: in expansion of macro ‘QUEUE_SPLIT’ 78 | QUEUE_SPLIT(h, q, n); \ | ^~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:52:5: note: in expansion of macro ‘QUEUE_MOVE’ 52 | QUEUE_MOVE(&loop->name##_handles, &queue); \ | ^~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:68:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’ 68 | UV_LOOP_WATCHER_DEFINE(idle, IDLE) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:50:11: note: ‘queue’ declared here 50 | QUEUE queue; \ | ^~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:68:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’ 68 | UV_LOOP_WATCHER_DEFINE(idle, IDLE) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:48:34: note: ‘loop’ declared here 48 | void uv__run_##name(uv_loop_t* loop) { \ | ~~~~~~~~~~~^~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/loop-watcher.c:68:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’ 68 | UV_LOOP_WATCHER_DEFINE(idle, IDLE) | ^~~~~~~~~~~~~~~~~~~~~~ [18/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/loop.c.o [19/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/pipe.c.o [20/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/poll.c.o [21/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/process.c.o [22/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/random-devurandom.c.o [23/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/signal.c.o [24/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/stream.c.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/uv-common.h:42, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/internal.h:25, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/stream.c:23: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/stream.c: In function ‘uv__write_callbacks’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/queue.h:68:19: warning: storing the address of local variable ‘pq’ in ‘((void * (**)[2])MEM[(void *[2] * *)stream_23(D) + 208B])[1]’ [-Wdangling-pointer=] 68 | QUEUE_PREV(q) = (n); \ | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/queue.h:78:7: note: in expansion of macro ‘QUEUE_SPLIT’ 78 | QUEUE_SPLIT(h, q, n); \ | ^~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/stream.c:935:3: note: in expansion of macro ‘QUEUE_MOVE’ 935 | QUEUE_MOVE(&stream->write_completed_queue, &pq); | ^~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/stream.c:930:9: note: ‘pq’ declared here 930 | QUEUE pq; | ^~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/stream.c:927:46: note: ‘stream’ declared here 927 | static void uv__write_callbacks(uv_stream_t* stream) { | ~~~~~~~~~~~~~^~~~~~ [25/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/tcp.c.o [26/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/thread.c.o /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/thread.c: In function ‘thread_stack_size’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/thread.c:195:24: warning: comparison of integer expressions of different signedness: ‘rlim_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 195 | if (lim.rlim_cur >= PTHREAD_STACK_MIN) | ^~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/thread.c: In function ‘uv_thread_create_ex’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libuv/src/unix/thread.c:243:20: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 243 | if (stack_size < PTHREAD_STACK_MIN) | ^ [27/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/tty.c.o [28/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/udp.c.o [29/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/proctitle.c.o [30/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/linux-core.c.o [31/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/linux-inotify.c.o [32/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/linux-syscalls.c.o [33/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/procfs-exepath.c.o [34/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/random-getrandom.c.o [35/2497] Building C object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe_uv.dir/__/third_party/libuv/src/unix/random-sysctl-linux.c.o [36/2497] Running C++/Python protocol buffer compiler on /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/proto/caffe2.proto [37/2497] Running C++/Python protocol buffer compiler on /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/proto/caffe2_legacy.proto [38/2497] Running C++/Python protocol buffer compiler on /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/proto/hsm.proto [39/2497] Running C++/Python protocol buffer compiler on /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/proto/metanet.proto [40/2497] Running C++/Python protocol buffer compiler on /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/proto/predictor_consts.proto [41/2497] Running C++/Python protocol buffer compiler on /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/proto/prof_dag.proto [42/2497] Running C++/Python protocol buffer compiler on /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/proto/torch.proto [43/2497] Linking C static library lib/libtensorpipe_uv.a [44/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/error.cc.o [45/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/helpers.cc.o [46/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/address.cc.o [47/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/allocator.cc.o [48/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/error.cc.o [49/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/fd.cc.o /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/fd.cc: In member function ‘tensorpipe::Error tensorpipe::Fd::readFull(void*, size_t)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/fd.cc:50:10: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 50 | if (rv != count) { | ~~~^~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/fd.cc: In member function ‘tensorpipe::Error tensorpipe::Fd::writeFull(const void*, size_t)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/fd.cc:62:10: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 62 | if (rv != count) { | ~~~^~~~~~~~ [50/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/socket.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [51/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/system.cc.o [52/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/context.cc.o [53/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/context_impl.cc.o [54/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/error.cc.o [55/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/listener.cc.o [56/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/listener_impl.cc.o [57/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/pipe.cc.o [58/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/core/pipe_impl.cc.o /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/core/pipe_impl.cc: In function ‘void tensorpipe::{anonymous}::parseDescriptorReplyOfMessage(tensorpipe::WriteOperation&, tensorpipe::DescriptorReply)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/core/pipe_impl.cc:35:40: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 35 | for (size_t tensorIdx = 0; tensorIdx < numTensors; ++tensorIdx) { | ~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/core/pipe_impl.cc: In function ‘std::shared_ptr > tensorpipe::{anonymous}::makeDescriptorForMessage(const tensorpipe::WriteOperation&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/core/pipe_impl.cc:77:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 77 | for (int payloadIdx = 0; payloadIdx < op.message.payloads.size(); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/core/pipe_impl.cc:87:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 87 | for (int tensorIdx = 0; tensorIdx < op.tensors.size(); ++tensorIdx) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/core/pipe_impl.cc: In member function ‘void tensorpipe::PipeImpl::expectReadCall(ReadOpIter)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/core/pipe_impl.cc:869:18: warning: unused variable ‘op’ [-Wunused-variable] 869 | ReadOperation& op = *opIter; | ^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/core/pipe_impl.h:25, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/core/pipe_impl.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h: In instantiation of ‘TOp* tensorpipe::OpsStateMachine::findOperation(int64_t) [with TSubject = tensorpipe::PipeImpl; TOp = tensorpipe::ReadOperation; int64_t = long int]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:57:20: required from ‘void tensorpipe::OpsStateMachine::advanceOperation(Iter) [with TSubject = tensorpipe::PipeImpl; TOp = tensorpipe::ReadOperation]’ 57 | TOp* opPtr = findOperation(sequenceNumber); | ^~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/core/pipe_impl.cc:391:28: required from here 391 | readOps_.advanceOperation(opIter); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:102:30: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::deque >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 102 | if (offset < 0 || offset >= ops_.size()) { | ~~~~~~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/deferred_executor.h:23, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/callback.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/core/pipe_impl.h:21: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:49: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:27:39: note: in definition of macro ‘unlikely’ 27 | #define unlikely(x) __builtin_expect((x) ? 1 : 0, 0) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:226:3: note: in expansion of macro ‘__TP_DCHECK_CMP’ 226 | __TP_DCHECK_CMP(a, b, op) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:28: note: in expansion of macro ‘_TP_DCHECK_CMP’ 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:106:5: note: in expansion of macro ‘TP_DCHECK_EQ’ 106 | TP_DCHECK_EQ(op.sequenceNumber, sequenceNumber); | ^~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h: In instantiation of ‘TOp* tensorpipe::OpsStateMachine::findOperation(int64_t) [with TSubject = tensorpipe::PipeImpl; TOp = tensorpipe::WriteOperation; int64_t = long int]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:57:20: required from ‘void tensorpipe::OpsStateMachine::advanceOperation(Iter) [with TSubject = tensorpipe::PipeImpl; TOp = tensorpipe::WriteOperation]’ 57 | TOp* opPtr = findOperation(sequenceNumber); | ^~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/core/pipe_impl.cc:580:29: required from here 580 | writeOps_.advanceOperation(opIter); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:102:30: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::deque >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 102 | if (offset < 0 || offset >= ops_.size()) { | ~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:49: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:27:39: note: in definition of macro ‘unlikely’ 27 | #define unlikely(x) __builtin_expect((x) ? 1 : 0, 0) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:226:3: note: in expansion of macro ‘__TP_DCHECK_CMP’ 226 | __TP_DCHECK_CMP(a, b, op) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:28: note: in expansion of macro ‘_TP_DCHECK_CMP’ 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:106:5: note: in expansion of macro ‘TP_DCHECK_EQ’ 106 | TP_DCHECK_EQ(op.sequenceNumber, sequenceNumber); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/serializer.h:24, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/core/nop_types.h:15, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/core/pipe_impl.h:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h: In instantiation of ‘static constexpr nop::Status nop::Encoding >::WritePayload(nop::EncodingByte, const Type&, Writer*) [with Writer = tensorpipe::NopWriter; Key = std::pair; T = std::__cxx11::basic_string; Hash = std::hash >; KeyEqual = std::equal_to >; Allocator = std::allocator, std::__cxx11::basic_string > >; Type = std::unordered_map, std::__cxx11::basic_string >]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/encoding.h:120:39: required from ‘static constexpr nop::Status nop::EncodingIO::Write(const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = std::unordered_map, std::__cxx11::basic_string >]’ 120 | return Encoding::WritePayload(prefix, value, writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/types/detail/member_pointer.h:56:33: required from ‘static constexpr nop::Status nop::MemberPointer::Write(const Class&, Writer*, MemberList) [with Writer = tensorpipe::NopWriter; MemberList = nop::MemberList, std::allocator > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::transport, void*, 0, void>, nop::MemberPointer, std::allocator > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::address, void*, 0, void>, nop::MemberPointer, std::equal_to, std::allocator > > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::transportRegistrationIds, void*, 0, void>, nop::MemberPointer, std::allocator > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::transportDomainDescriptor, void*, 0, void>, nop::MemberPointer, std::allocator >, std::vector >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator >, std::vector > > > > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::channelRegistrationIds, void*, 0, void>, nop::MemberPointer, std::allocator >, std::unordered_map, std::allocator >, std::hash, std::equal_to, std::allocator, std::allocator > > > >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator >, std::unordered_map, std::allocator >, std::hash, std::equal_to, std::allocator, std::allocator > > > > > > > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::channelDeviceDescriptors, void*, 0, void>, nop::MemberPointer, std::__cxx11::basic_string, std::allocator >, std::hash >, std::equal_to >, std::allocator, std::__cxx11::basic_string, std::allocator > > > > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::channelForDevicePair, void*, 0, void> >; T = std::unordered_map, std::__cxx11::basic_string >; Class = tensorpipe::BrochureAnswer; T Class::* Pointer = &tensorpipe::BrochureAnswer::channelForDevicePair]’ 56 | return Encoding::Write(Resolve(instance), writer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/members.h:103:41: required from ‘static constexpr nop::Status nop::Encoding::value, void>::type>::WriteMembers(const T&, Writer*, nop::Index) [with long unsigned int index = 7; Writer = tensorpipe::NopWriter; T = tensorpipe::BrochureAnswer]’ 103 | return PointerAt::Write(value, writer, MemberList{}); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/members.h:59:26: required from ‘static constexpr nop::Status nop::Encoding::value, void>::type>::WritePayload(nop::EncodingByte, const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = tensorpipe::BrochureAnswer]’ 59 | return WriteMembers(value, writer, Index{}); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/encoding.h:120:39: required from ‘static constexpr nop::Status nop::EncodingIO::Write(const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = tensorpipe::BrochureAnswer]’ 120 | return Encoding::WritePayload(prefix, value, writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/nop.h:232:35: required from ‘nop::Status tensorpipe::NopHolder::write(tensorpipe::NopWriter&) const [with T = tensorpipe::BrochureAnswer]’ 232 | return nop::Encoding::Write(object_, &writer); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/nop.h:231:21: required from here 231 | nop::Status write(NopWriter& writer) const override { | ^~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h:142:35: warning: loop variable ‘element’ of type ‘const std::pair, std::__cxx11::basic_string >&’ binds to a temporary constructed from type ‘const std::__detail::_Node_const_iterator, std::__cxx11::basic_string >, false, false>::value_type’ {aka ‘const std::pair, std::__cxx11::basic_string >’} [-Wrange-loop-construct] 142 | for (const std::pair& element : value) { | ^~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h:142:35: note: use non-reference type ‘const std::pair, std::__cxx11::basic_string >’ to make the copy explicit or ‘const std::__detail::_Node_const_iterator, std::__cxx11::basic_string >, false, false>::value_type&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} to prevent copying /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h: In instantiation of ‘static constexpr nop::Status nop::Encoding >::WritePayload(nop::EncodingByte, const Type&, Writer*) [with Writer = tensorpipe::NopWriter; Key = std::__cxx11::basic_string; T = std::unordered_map >; Hash = std::hash >; KeyEqual = std::equal_to >; Allocator = std::allocator, std::unordered_map > > >; Type = std::unordered_map, std::unordered_map > >]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/encoding.h:120:39: required from ‘static constexpr nop::Status nop::EncodingIO::Write(const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = std::unordered_map, std::unordered_map > >]’ 120 | return Encoding::WritePayload(prefix, value, writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/types/detail/member_pointer.h:56:33: required from ‘static constexpr nop::Status nop::MemberPointer::Write(const Class&, Writer*, MemberList) [with Writer = tensorpipe::NopWriter; MemberList = nop::MemberList, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > tensorpipe::Brochure::*, &tensorpipe::Brochure::transportDomainDescriptors, void*, 0, void>, nop::MemberPointer, std::allocator >, std::unordered_map, std::allocator >, std::hash, std::equal_to, std::allocator, std::allocator > > > >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator >, std::unordered_map, std::allocator >, std::hash, std::equal_to, std::allocator, std::allocator > > > > > > > tensorpipe::Brochure::*, &tensorpipe::Brochure::channelDeviceDescriptors, void*, 0, void> >; T = std::unordered_map, std::unordered_map > >; Class = tensorpipe::Brochure; T Class::* Pointer = &tensorpipe::Brochure::channelDeviceDescriptors]’ 56 | return Encoding::Write(Resolve(instance), writer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/members.h:103:41: required from ‘static constexpr nop::Status nop::Encoding::value, void>::type>::WriteMembers(const T&, Writer*, nop::Index) [with long unsigned int index = 2; Writer = tensorpipe::NopWriter; T = tensorpipe::Brochure]’ 103 | return PointerAt::Write(value, writer, MemberList{}); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/members.h:59:26: required from ‘static constexpr nop::Status nop::Encoding::value, void>::type>::WritePayload(nop::EncodingByte, const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = tensorpipe::Brochure]’ 59 | return WriteMembers(value, writer, Index{}); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/encoding.h:120:39: required from ‘static constexpr nop::Status nop::EncodingIO::Write(const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = tensorpipe::Brochure]’ 120 | return Encoding::WritePayload(prefix, value, writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/nop.h:232:35: required from ‘nop::Status tensorpipe::NopHolder::write(tensorpipe::NopWriter&) const [with T = tensorpipe::Brochure]’ 232 | return nop::Encoding::Write(object_, &writer); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/nop.h:231:21: required from here 231 | nop::Status write(NopWriter& writer) const override { | ^~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h:142:35: warning: loop variable ‘element’ of type ‘const std::pair, std::unordered_map > >&’ binds to a temporary constructed from type ‘const std::__detail::_Node_const_iterator, std::unordered_map > >, false, true>::value_type’ {aka ‘const std::pair, std::unordered_map > >’} [-Wrange-loop-construct] 142 | for (const std::pair& element : value) { | ^~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h:142:35: note: use non-reference type ‘const std::pair, std::unordered_map > >’ to make the copy explicit or ‘const std::__detail::_Node_const_iterator, std::unordered_map > >, false, true>::value_type&’ {aka ‘const std::pair, std::unordered_map > >&’} to prevent copying /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h: In instantiation of ‘static constexpr nop::Status nop::Encoding >::WritePayload(nop::EncodingByte, const Type&, Writer*) [with Writer = tensorpipe::NopWriter; Key = std::__cxx11::basic_string; T = std::__cxx11::basic_string; Hash = std::hash >; KeyEqual = std::equal_to >; Allocator = std::allocator, std::__cxx11::basic_string > >; Type = std::unordered_map, std::__cxx11::basic_string >]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/encoding.h:120:39: required from ‘static constexpr nop::Status nop::EncodingIO::Write(const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = std::unordered_map, std::__cxx11::basic_string >]’ 120 | return Encoding::WritePayload(prefix, value, writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/types/detail/member_pointer.h:56:33: required from ‘static constexpr nop::Status nop::MemberPointer::Write(const Class&, Writer*, MemberList) [with Writer = tensorpipe::NopWriter; MemberList = nop::MemberList, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > tensorpipe::Brochure::*, &tensorpipe::Brochure::transportDomainDescriptors, void*, 0, void>, nop::MemberPointer, std::allocator >, std::unordered_map, std::allocator >, std::hash, std::equal_to, std::allocator, std::allocator > > > >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator >, std::unordered_map, std::allocator >, std::hash, std::equal_to, std::allocator, std::allocator > > > > > > > tensorpipe::Brochure::*, &tensorpipe::Brochure::channelDeviceDescriptors, void*, 0, void> >; T = std::unordered_map, std::__cxx11::basic_string >; Class = tensorpipe::Brochure; T Class::* Pointer = &tensorpipe::Brochure::transportDomainDescriptors]’ 56 | return Encoding::Write(Resolve(instance), writer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/members.h:103:41: required from ‘static constexpr nop::Status nop::Encoding::value, void>::type>::WriteMembers(const T&, Writer*, nop::Index) [with long unsigned int index = 1; Writer = tensorpipe::NopWriter; T = tensorpipe::Brochure]’ 103 | return PointerAt::Write(value, writer, MemberList{}); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/members.h:99:31: required from ‘static constexpr nop::Status nop::Encoding::value, void>::type>::WriteMembers(const T&, Writer*, nop::Index) [with long unsigned int index = 2; Writer = tensorpipe::NopWriter; T = tensorpipe::Brochure]’ 99 | auto status = WriteMembers(value, writer, Index{}); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/members.h:59:26: required from ‘static constexpr nop::Status nop::Encoding::value, void>::type>::WritePayload(nop::EncodingByte, const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = tensorpipe::Brochure]’ 59 | return WriteMembers(value, writer, Index{}); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/encoding.h:120:39: required from ‘static constexpr nop::Status nop::EncodingIO::Write(const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = tensorpipe::Brochure]’ 120 | return Encoding::WritePayload(prefix, value, writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/nop.h:232:35: required from ‘nop::Status tensorpipe::NopHolder::write(tensorpipe::NopWriter&) const [with T = tensorpipe::Brochure]’ 232 | return nop::Encoding::Write(object_, &writer); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/nop.h:231:21: required from here 231 | nop::Status write(NopWriter& writer) const override { | ^~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h:142:35: warning: loop variable ‘element’ of type ‘const std::pair, std::__cxx11::basic_string >&’ binds to a temporary constructed from type ‘const std::__detail::_Node_const_iterator, std::__cxx11::basic_string >, false, true>::value_type’ {aka ‘const std::pair, std::__cxx11::basic_string >’} [-Wrange-loop-construct] 142 | for (const std::pair& element : value) { | ^~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h:142:35: note: use non-reference type ‘const std::pair, std::__cxx11::basic_string >’ to make the copy explicit or ‘const std::__detail::_Node_const_iterator, std::__cxx11::basic_string >, false, true>::value_type&’ {aka ‘const std::pair, std::__cxx11::basic_string >&’} to prevent copying /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h: In instantiation of ‘static constexpr nop::Status nop::Encoding >::WritePayload(nop::EncodingByte, const Type&, Writer*) [with Writer = tensorpipe::NopWriter; Key = std::__cxx11::basic_string; T = std::vector; Hash = std::hash >; KeyEqual = std::equal_to >; Allocator = std::allocator, std::vector > >; Type = std::unordered_map, std::vector >]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/encoding.h:120:39: required from ‘static constexpr nop::Status nop::EncodingIO::Write(const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = std::unordered_map, std::vector >]’ 120 | return Encoding::WritePayload(prefix, value, writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/types/detail/member_pointer.h:56:33: required from ‘static constexpr nop::Status nop::MemberPointer::Write(const Class&, Writer*, MemberList) [with Writer = tensorpipe::NopWriter; MemberList = nop::MemberList, std::allocator > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::transport, void*, 0, void>, nop::MemberPointer, std::allocator > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::address, void*, 0, void>, nop::MemberPointer, std::equal_to, std::allocator > > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::transportRegistrationIds, void*, 0, void>, nop::MemberPointer, std::allocator > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::transportDomainDescriptor, void*, 0, void>, nop::MemberPointer, std::allocator >, std::vector >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator >, std::vector > > > > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::channelRegistrationIds, void*, 0, void>, nop::MemberPointer, std::allocator >, std::unordered_map, std::allocator >, std::hash, std::equal_to, std::allocator, std::allocator > > > >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator >, std::unordered_map, std::allocator >, std::hash, std::equal_to, std::allocator, std::allocator > > > > > > > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::channelDeviceDescriptors, void*, 0, void>, nop::MemberPointer, std::__cxx11::basic_string, std::allocator >, std::hash >, std::equal_to >, std::allocator, std::__cxx11::basic_string, std::allocator > > > > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::channelForDevicePair, void*, 0, void> >; T = std::unordered_map, std::vector >; Class = tensorpipe::BrochureAnswer; T Class::* Pointer = &tensorpipe::BrochureAnswer::channelRegistrationIds]’ 56 | return Encoding::Write(Resolve(instance), writer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/members.h:99:31: recursively required from ‘static constexpr nop::Status nop::Encoding::value, void>::type>::WriteMembers(const T&, Writer*, nop::Index) [with long unsigned int index = 6; Writer = tensorpipe::NopWriter; T = tensorpipe::BrochureAnswer]’ 99 | auto status = WriteMembers(value, writer, Index{}); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/members.h:99:31: required from ‘static constexpr nop::Status nop::Encoding::value, void>::type>::WriteMembers(const T&, Writer*, nop::Index) [with long unsigned int index = 7; Writer = tensorpipe::NopWriter; T = tensorpipe::BrochureAnswer]’ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/members.h:59:26: required from ‘static constexpr nop::Status nop::Encoding::value, void>::type>::WritePayload(nop::EncodingByte, const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = tensorpipe::BrochureAnswer]’ 59 | return WriteMembers(value, writer, Index{}); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/encoding.h:120:39: required from ‘static constexpr nop::Status nop::EncodingIO::Write(const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = tensorpipe::BrochureAnswer]’ 120 | return Encoding::WritePayload(prefix, value, writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/nop.h:232:35: required from ‘nop::Status tensorpipe::NopHolder::write(tensorpipe::NopWriter&) const [with T = tensorpipe::BrochureAnswer]’ 232 | return nop::Encoding::Write(object_, &writer); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/nop.h:231:21: required from here 231 | nop::Status write(NopWriter& writer) const override { | ^~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h:142:35: warning: loop variable ‘element’ of type ‘const std::pair, std::vector >&’ binds to a temporary constructed from type ‘const std::__detail::_Node_const_iterator, std::vector >, false, true>::value_type’ {aka ‘const std::pair, std::vector >’} [-Wrange-loop-construct] 142 | for (const std::pair& element : value) { | ^~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h:142:35: note: use non-reference type ‘const std::pair, std::vector >’ to make the copy explicit or ‘const std::__detail::_Node_const_iterator, std::vector >, false, true>::value_type&’ {aka ‘const std::pair, std::vector >&’} to prevent copying /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h: In instantiation of ‘static constexpr nop::Status nop::Encoding >::WritePayload(nop::EncodingByte, const Type&, Writer*) [with Writer = tensorpipe::NopWriter; Key = tensorpipe::Device; T = std::__cxx11::basic_string; Hash = std::hash; KeyEqual = std::equal_to; Allocator = std::allocator > >; Type = std::unordered_map >]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/encoding.h:120:39: required from ‘static constexpr nop::Status nop::EncodingIO::Write(const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = std::unordered_map >]’ 120 | return Encoding::WritePayload(prefix, value, writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h:147:34: required from ‘static constexpr nop::Status nop::Encoding >::WritePayload(nop::EncodingByte, const Type&, Writer*) [with Writer = tensorpipe::NopWriter; Key = std::__cxx11::basic_string; T = std::unordered_map >; Hash = std::hash >; KeyEqual = std::equal_to >; Allocator = std::allocator, std::unordered_map > > >; Type = std::unordered_map, std::unordered_map > >]’ 147 | status = Encoding::Write(element.second, writer); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/encoding.h:120:39: required from ‘static constexpr nop::Status nop::EncodingIO::Write(const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = std::unordered_map, std::unordered_map > >]’ 120 | return Encoding::WritePayload(prefix, value, writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/types/detail/member_pointer.h:56:33: required from ‘static constexpr nop::Status nop::MemberPointer::Write(const Class&, Writer*, MemberList) [with Writer = tensorpipe::NopWriter; MemberList = nop::MemberList, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > tensorpipe::Brochure::*, &tensorpipe::Brochure::transportDomainDescriptors, void*, 0, void>, nop::MemberPointer, std::allocator >, std::unordered_map, std::allocator >, std::hash, std::equal_to, std::allocator, std::allocator > > > >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator >, std::unordered_map, std::allocator >, std::hash, std::equal_to, std::allocator, std::allocator > > > > > > > tensorpipe::Brochure::*, &tensorpipe::Brochure::channelDeviceDescriptors, void*, 0, void> >; T = std::unordered_map, std::unordered_map > >; Class = tensorpipe::Brochure; T Class::* Pointer = &tensorpipe::Brochure::channelDeviceDescriptors]’ 56 | return Encoding::Write(Resolve(instance), writer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/members.h:103:41: required from ‘static constexpr nop::Status nop::Encoding::value, void>::type>::WriteMembers(const T&, Writer*, nop::Index) [with long unsigned int index = 2; Writer = tensorpipe::NopWriter; T = tensorpipe::Brochure]’ 103 | return PointerAt::Write(value, writer, MemberList{}); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/members.h:59:26: required from ‘static constexpr nop::Status nop::Encoding::value, void>::type>::WritePayload(nop::EncodingByte, const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = tensorpipe::Brochure]’ 59 | return WriteMembers(value, writer, Index{}); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/encoding.h:120:39: required from ‘static constexpr nop::Status nop::EncodingIO::Write(const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = tensorpipe::Brochure]’ 120 | return Encoding::WritePayload(prefix, value, writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/nop.h:232:35: required from ‘nop::Status tensorpipe::NopHolder::write(tensorpipe::NopWriter&) const [with T = tensorpipe::Brochure]’ 232 | return nop::Encoding::Write(object_, &writer); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/nop.h:231:21: required from here 231 | nop::Status write(NopWriter& writer) const override { | ^~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h:142:35: warning: loop variable ‘element’ of type ‘const std::pair >&’ binds to a temporary constructed from type ‘const std::__detail::_Node_const_iterator >, false, false>::value_type’ {aka ‘const std::pair >’} [-Wrange-loop-construct] 142 | for (const std::pair& element : value) { | ^~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h:142:35: note: use non-reference type ‘const std::pair >’ to make the copy explicit or ‘const std::__detail::_Node_const_iterator >, false, false>::value_type&’ {aka ‘const std::pair >&’} to prevent copying /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h: In instantiation of ‘static constexpr nop::Status nop::Encoding >::WritePayload(nop::EncodingByte, const Type&, Writer*) [with Writer = tensorpipe::NopWriter; Key = long unsigned int; T = long unsigned int; Hash = std::hash; KeyEqual = std::equal_to; Allocator = std::allocator >; Type = std::unordered_map]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/encoding.h:120:39: required from ‘static constexpr nop::Status nop::EncodingIO::Write(const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = std::unordered_map]’ 120 | return Encoding::WritePayload(prefix, value, writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/types/detail/member_pointer.h:56:33: required from ‘static constexpr nop::Status nop::MemberPointer::Write(const Class&, Writer*, MemberList) [with Writer = tensorpipe::NopWriter; MemberList = nop::MemberList, std::allocator > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::transport, void*, 0, void>, nop::MemberPointer, std::allocator > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::address, void*, 0, void>, nop::MemberPointer, std::equal_to, std::allocator > > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::transportRegistrationIds, void*, 0, void>, nop::MemberPointer, std::allocator > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::transportDomainDescriptor, void*, 0, void>, nop::MemberPointer, std::allocator >, std::vector >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator >, std::vector > > > > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::channelRegistrationIds, void*, 0, void>, nop::MemberPointer, std::allocator >, std::unordered_map, std::allocator >, std::hash, std::equal_to, std::allocator, std::allocator > > > >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator >, std::unordered_map, std::allocator >, std::hash, std::equal_to, std::allocator, std::allocator > > > > > > > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::channelDeviceDescriptors, void*, 0, void>, nop::MemberPointer, std::__cxx11::basic_string, std::allocator >, std::hash >, std::equal_to >, std::allocator, std::__cxx11::basic_string, std::allocator > > > > tensorpipe::BrochureAnswer::*, &tensorpipe::BrochureAnswer::channelForDevicePair, void*, 0, void> >; T = std::unordered_map; Class = tensorpipe::BrochureAnswer; T Class::* Pointer = &tensorpipe::BrochureAnswer::transportRegistrationIds]’ 56 | return Encoding::Write(Resolve(instance), writer); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/members.h:99:31: recursively required from ‘static constexpr nop::Status nop::Encoding::value, void>::type>::WriteMembers(const T&, Writer*, nop::Index) [with long unsigned int index = 6; Writer = tensorpipe::NopWriter; T = tensorpipe::BrochureAnswer]’ 99 | auto status = WriteMembers(value, writer, Index{}); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/members.h:99:31: required from ‘static constexpr nop::Status nop::Encoding::value, void>::type>::WriteMembers(const T&, Writer*, nop::Index) [with long unsigned int index = 7; Writer = tensorpipe::NopWriter; T = tensorpipe::BrochureAnswer]’ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/members.h:59:26: required from ‘static constexpr nop::Status nop::Encoding::value, void>::type>::WritePayload(nop::EncodingByte, const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = tensorpipe::BrochureAnswer]’ 59 | return WriteMembers(value, writer, Index{}); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/encoding.h:120:39: required from ‘static constexpr nop::Status nop::EncodingIO::Write(const T&, Writer*) [with Writer = tensorpipe::NopWriter; T = tensorpipe::BrochureAnswer]’ 120 | return Encoding::WritePayload(prefix, value, writer); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/nop.h:232:35: required from ‘nop::Status tensorpipe::NopHolder::write(tensorpipe::NopWriter&) const [with T = tensorpipe::BrochureAnswer]’ 232 | return nop::Encoding::Write(object_, &writer); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/nop.h:231:21: required from here 231 | nop::Status write(NopWriter& writer) const override { | ^~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h:142:35: warning: loop variable ‘element’ of type ‘const std::pair&’ binds to a temporary constructed from type ‘const std::__detail::_Node_const_iterator, false, false>::value_type’ {aka ‘const std::pair’} [-Wrange-loop-construct] 142 | for (const std::pair& element : value) { | ^~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/third_party/libnop/include/nop/base/map.h:142:35: note: use non-reference type ‘const std::pair’ to make the copy explicit or ‘const std::__detail::_Node_const_iterator, false, false>::value_type&’ {aka ‘const std::pair&’} to prevent copying [59/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/error.cc.o [60/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/basic/channel_impl.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/basic/channel_impl.h:15, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/basic/channel_impl.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h: In instantiation of ‘TOp* tensorpipe::OpsStateMachine::findOperation(int64_t) [with TSubject = tensorpipe::channel::basic::ChannelImpl; TOp = tensorpipe::channel::basic::SendOperation; int64_t = long int]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:57:20: required from ‘void tensorpipe::OpsStateMachine::advanceOperation(Iter) [with TSubject = tensorpipe::channel::basic::ChannelImpl; TOp = tensorpipe::channel::basic::SendOperation]’ 57 | TOp* opPtr = findOperation(sequenceNumber); | ^~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/basic/channel_impl.cc:51:28: required from here 51 | sendOps_.advanceOperation(opIter); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:102:30: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::deque >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 102 | if (offset < 0 || offset >= ops_.size()) { | ~~~~~~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/deferred_executor.h:23, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/callback.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/channel_impl_boilerplate.h:17, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/basic/channel_impl.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:49: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:27:39: note: in definition of macro ‘unlikely’ 27 | #define unlikely(x) __builtin_expect((x) ? 1 : 0, 0) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:226:3: note: in expansion of macro ‘__TP_DCHECK_CMP’ 226 | __TP_DCHECK_CMP(a, b, op) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:28: note: in expansion of macro ‘_TP_DCHECK_CMP’ 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:106:5: note: in expansion of macro ‘TP_DCHECK_EQ’ 106 | TP_DCHECK_EQ(op.sequenceNumber, sequenceNumber); | ^~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h: In instantiation of ‘TOp* tensorpipe::OpsStateMachine::findOperation(int64_t) [with TSubject = tensorpipe::channel::basic::ChannelImpl; TOp = tensorpipe::channel::basic::RecvOperation; int64_t = long int]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:57:20: required from ‘void tensorpipe::OpsStateMachine::advanceOperation(Iter) [with TSubject = tensorpipe::channel::basic::ChannelImpl; TOp = tensorpipe::channel::basic::RecvOperation]’ 57 | TOp* opPtr = findOperation(sequenceNumber); | ^~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/basic/channel_impl.cc:118:28: required from here 118 | recvOps_.advanceOperation(opIter); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:102:30: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::deque >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 102 | if (offset < 0 || offset >= ops_.size()) { | ~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:49: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:27:39: note: in definition of macro ‘unlikely’ 27 | #define unlikely(x) __builtin_expect((x) ? 1 : 0, 0) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:226:3: note: in expansion of macro ‘__TP_DCHECK_CMP’ 226 | __TP_DCHECK_CMP(a, b, op) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:28: note: in expansion of macro ‘_TP_DCHECK_CMP’ 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:106:5: note: in expansion of macro ‘TP_DCHECK_EQ’ 106 | TP_DCHECK_EQ(op.sequenceNumber, sequenceNumber); | ^~~~~~~~~~~~ [61/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/basic/context_impl.cc.o [62/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/basic/factory.cc.o [63/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/xth/channel_impl.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/xth/channel_impl.h:15, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/xth/channel_impl.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h: In instantiation of ‘TOp* tensorpipe::OpsStateMachine::findOperation(int64_t) [with TSubject = tensorpipe::channel::xth::ChannelImpl; TOp = tensorpipe::channel::xth::SendOperation; int64_t = long int]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:57:20: required from ‘void tensorpipe::OpsStateMachine::advanceOperation(Iter) [with TSubject = tensorpipe::channel::xth::ChannelImpl; TOp = tensorpipe::channel::xth::SendOperation]’ 57 | TOp* opPtr = findOperation(sequenceNumber); | ^~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/xth/channel_impl.cc:65:28: required from here 65 | sendOps_.advanceOperation(opIter); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:102:30: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::deque >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 102 | if (offset < 0 || offset >= ops_.size()) { | ~~~~~~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/deferred_executor.h:23, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/callback.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/channel_impl_boilerplate.h:17, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/xth/channel_impl.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:49: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:27:39: note: in definition of macro ‘unlikely’ 27 | #define unlikely(x) __builtin_expect((x) ? 1 : 0, 0) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:226:3: note: in expansion of macro ‘__TP_DCHECK_CMP’ 226 | __TP_DCHECK_CMP(a, b, op) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:28: note: in expansion of macro ‘_TP_DCHECK_CMP’ 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:106:5: note: in expansion of macro ‘TP_DCHECK_EQ’ 106 | TP_DCHECK_EQ(op.sequenceNumber, sequenceNumber); | ^~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h: In instantiation of ‘TOp* tensorpipe::OpsStateMachine::findOperation(int64_t) [with TSubject = tensorpipe::channel::xth::ChannelImpl; TOp = tensorpipe::channel::xth::RecvOperation; int64_t = long int]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:57:20: required from ‘void tensorpipe::OpsStateMachine::advanceOperation(Iter) [with TSubject = tensorpipe::channel::xth::ChannelImpl; TOp = tensorpipe::channel::xth::RecvOperation]’ 57 | TOp* opPtr = findOperation(sequenceNumber); | ^~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/xth/channel_impl.cc:157:28: required from here 157 | recvOps_.advanceOperation(opIter); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:102:30: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::deque >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 102 | if (offset < 0 || offset >= ops_.size()) { | ~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:49: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:27:39: note: in definition of macro ‘unlikely’ 27 | #define unlikely(x) __builtin_expect((x) ? 1 : 0, 0) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:226:3: note: in expansion of macro ‘__TP_DCHECK_CMP’ 226 | __TP_DCHECK_CMP(a, b, op) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:28: note: in expansion of macro ‘_TP_DCHECK_CMP’ 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:106:5: note: in expansion of macro ‘TP_DCHECK_EQ’ 106 | TP_DCHECK_EQ(op.sequenceNumber, sequenceNumber); | ^~~~~~~~~~~~ [64/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/xth/context_impl.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/xth/context_impl.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/xth/context_impl.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/queue.h: In instantiation of ‘void tensorpipe::Queue::push(T) [with T = tensorpipe::optional]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/xth/context_impl.cc:68:17: required from here 68 | requests_.push(nullopt); | ~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/queue.h:24:26: warning: comparison of integer expressions of different signedness: ‘std::deque, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 24 | while (items_.size() >= capacity_) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~ [65/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/xth/factory.cc.o [66/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/cma/channel_impl.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/cma/channel_impl.h:15, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/cma/channel_impl.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h: In instantiation of ‘TOp* tensorpipe::OpsStateMachine::findOperation(int64_t) [with TSubject = tensorpipe::channel::cma::ChannelImpl; TOp = tensorpipe::channel::cma::SendOperation; int64_t = long int]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:57:20: required from ‘void tensorpipe::OpsStateMachine::advanceOperation(Iter) [with TSubject = tensorpipe::channel::cma::ChannelImpl; TOp = tensorpipe::channel::cma::SendOperation]’ 57 | TOp* opPtr = findOperation(sequenceNumber); | ^~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/cma/channel_impl.cc:66:28: required from here 66 | sendOps_.advanceOperation(opIter); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:102:30: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::deque >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 102 | if (offset < 0 || offset >= ops_.size()) { | ~~~~~~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/deferred_executor.h:23, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/callback.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/channel_impl_boilerplate.h:17, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/cma/channel_impl.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:49: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:27:39: note: in definition of macro ‘unlikely’ 27 | #define unlikely(x) __builtin_expect((x) ? 1 : 0, 0) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:226:3: note: in expansion of macro ‘__TP_DCHECK_CMP’ 226 | __TP_DCHECK_CMP(a, b, op) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:28: note: in expansion of macro ‘_TP_DCHECK_CMP’ 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:106:5: note: in expansion of macro ‘TP_DCHECK_EQ’ 106 | TP_DCHECK_EQ(op.sequenceNumber, sequenceNumber); | ^~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h: In instantiation of ‘TOp* tensorpipe::OpsStateMachine::findOperation(int64_t) [with TSubject = tensorpipe::channel::cma::ChannelImpl; TOp = tensorpipe::channel::cma::RecvOperation; int64_t = long int]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:57:20: required from ‘void tensorpipe::OpsStateMachine::advanceOperation(Iter) [with TSubject = tensorpipe::channel::cma::ChannelImpl; TOp = tensorpipe::channel::cma::RecvOperation]’ 57 | TOp* opPtr = findOperation(sequenceNumber); | ^~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/cma/channel_impl.cc:160:28: required from here 160 | recvOps_.advanceOperation(opIter); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:102:30: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::deque >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 102 | if (offset < 0 || offset >= ops_.size()) { | ~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:49: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:27:39: note: in definition of macro ‘unlikely’ 27 | #define unlikely(x) __builtin_expect((x) ? 1 : 0, 0) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:226:3: note: in expansion of macro ‘__TP_DCHECK_CMP’ 226 | __TP_DCHECK_CMP(a, b, op) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:28: note: in expansion of macro ‘_TP_DCHECK_CMP’ 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:106:5: note: in expansion of macro ‘TP_DCHECK_EQ’ 106 | TP_DCHECK_EQ(op.sequenceNumber, sequenceNumber); | ^~~~~~~~~~~~ [67/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/cma/context_impl.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/cma/context_impl.cc:26: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/strings.h: In function ‘bool tensorpipe::isValidUuid(const std::string&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/strings.h:58:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 58 | for (int i = 0; i < uuid.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/cma/context_impl.cc: In function ‘tensorpipe::Error tensorpipe::channel::cma::{anonymous}::callProcessVmReadv(void*, void*, size_t, pid_t)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/cma/context_impl.cc:61:20: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 61 | } else if (nread != length) { | ~~~~~~^~~~~~~~~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/cma/context_impl.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/cma/context_impl.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/queue.h: In instantiation of ‘void tensorpipe::Queue::push(T) [with T = tensorpipe::optional]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/cma/context_impl.cc:324:17: required from here 324 | requests_.push(nullopt); | ~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/queue.h:24:26: warning: comparison of integer expressions of different signedness: ‘std::deque, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 24 | while (items_.size() >= capacity_) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~ [68/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/cma/factory.cc.o [69/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/mpt/channel_impl.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/mpt/channel_impl.h:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/mpt/channel_impl.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h: In instantiation of ‘TOp* tensorpipe::OpsStateMachine::findOperation(int64_t) [with TSubject = tensorpipe::channel::mpt::ChannelImpl; TOp = tensorpipe::channel::mpt::SendOperation; int64_t = long int]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:74:20: required from ‘void tensorpipe::OpsStateMachine::advanceAllOperations() [with TSubject = tensorpipe::channel::mpt::ChannelImpl; TOp = tensorpipe::channel::mpt::SendOperation]’ 74 | TOp* opPtr = findOperation(sequenceNumber); | ^~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/mpt/channel_impl.cc:131:32: required from here 131 | sendOps_.advanceAllOperations(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:102:30: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::deque >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 102 | if (offset < 0 || offset >= ops_.size()) { | ~~~~~~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/deferred_executor.h:23, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/callback.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/channel_impl_boilerplate.h:17, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/mpt/channel_impl.h:17: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:49: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:27:39: note: in definition of macro ‘unlikely’ 27 | #define unlikely(x) __builtin_expect((x) ? 1 : 0, 0) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:226:3: note: in expansion of macro ‘__TP_DCHECK_CMP’ 226 | __TP_DCHECK_CMP(a, b, op) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:28: note: in expansion of macro ‘_TP_DCHECK_CMP’ 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:106:5: note: in expansion of macro ‘TP_DCHECK_EQ’ 106 | TP_DCHECK_EQ(op.sequenceNumber, sequenceNumber); | ^~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h: In instantiation of ‘TOp* tensorpipe::OpsStateMachine::findOperation(int64_t) [with TSubject = tensorpipe::channel::mpt::ChannelImpl; TOp = tensorpipe::channel::mpt::RecvOperation; int64_t = long int]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:74:20: required from ‘void tensorpipe::OpsStateMachine::advanceAllOperations() [with TSubject = tensorpipe::channel::mpt::ChannelImpl; TOp = tensorpipe::channel::mpt::RecvOperation]’ 74 | TOp* opPtr = findOperation(sequenceNumber); | ^~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/channel/mpt/channel_impl.cc:132:32: required from here 132 | recvOps_.advanceAllOperations(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:102:30: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::deque >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 102 | if (offset < 0 || offset >= ops_.size()) { | ~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:49: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:27:39: note: in definition of macro ‘unlikely’ 27 | #define unlikely(x) __builtin_expect((x) ? 1 : 0, 0) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:226:3: note: in expansion of macro ‘__TP_DCHECK_CMP’ 226 | __TP_DCHECK_CMP(a, b, op) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:28: note: in expansion of macro ‘_TP_DCHECK_CMP’ 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/state_machine.h:106:5: note: in expansion of macro ‘TP_DCHECK_EQ’ 106 | TP_DCHECK_EQ(op.sequenceNumber, sequenceNumber); | ^~~~~~~~~~~~ [70/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/mpt/context_impl.cc.o [71/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/channel/mpt/factory.cc.o [72/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/uv/connection_impl.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/sockaddr.h:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/connection_impl.h:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/connection_impl.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [73/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/uv/context_impl.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/sockaddr.h:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/uv.h:18, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/loop.h:21, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/context_impl.h:18, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/context_impl.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [74/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/uv/error.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/sockaddr.h:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/uv.h:18, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/error.cc:11: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [75/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/uv/factory.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/sockaddr.h:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/connection_impl.h:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/factory.cc:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [76/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/uv/listener_impl.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/sockaddr.h:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/listener_impl.h:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/listener_impl.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [77/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/uv/loop.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/sockaddr.h:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/uv.h:18, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/loop.h:21, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/loop.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [78/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/uv/sockaddr.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/sockaddr.h:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/sockaddr.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [79/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/uv/utility.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/sockaddr.h:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/uv/utility.cc:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [80/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/epoll_loop.cc.o [81/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/shm_segment.cc.o [82/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/shm/connection_impl.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/connection_impl.h:21, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/connection_impl.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h: In instantiation of ‘tensorpipe::Error tensorpipe::recvFromSocket(int, T&, T&, Fds& ...) [with T = unsigned int; Fds = {Fd, Fd, Fd, Fd}]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:253:26: required from ‘tensorpipe::Error tensorpipe::Socket::recvPayloadAndFds(T&, T&, Fds& ...) [with T = unsigned int; Fds = {tensorpipe::Fd, tensorpipe::Fd, tensorpipe::Fd, tensorpipe::Fd}; typename std::enable_if::value, bool>::type = false]’ 253 | return recvFromSocket(fd_, t1, t2, fds...); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/connection_impl.cc:219:41: required from here 219 | auto err = socket_.recvPayloadAndFds( | ~~~~~~~~~~~~~~~~~~~~~~~~~^ 220 | peerInboxReactorToken, | ~~~~~~~~~~~~~~~~~~~~~~ 221 | peerOutboxReactorToken, | ~~~~~~~~~~~~~~~~~~~~~~~ 222 | reactorHeaderFd, | ~~~~~~~~~~~~~~~~ 223 | reactorDataFd, | ~~~~~~~~~~~~~~ 224 | outboxHeaderFd, | ~~~~~~~~~~~~~~~ 225 | outboxDataFd); | ~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:154:12: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 154 | if (rv != iov.iov_len) { | ~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h: In instantiation of ‘tensorpipe::Error tensorpipe::sendToSocket(int, const T&, const T&, const Fds& ...) [with T = unsigned int; Fds = {int, int, int, int}]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:243:24: required from ‘tensorpipe::Error tensorpipe::Socket::sendPayloadAndFds(const T&, const T&, const Fds& ...) [with T = unsigned int; Fds = {int, int, int, int}; typename std::enable_if::value, bool>::type = false]’ 243 | return sendToSocket(fd_, t1, t2, fds...); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/connection_impl.cc:274:41: required from here 274 | auto err = socket_.sendPayloadAndFds( | ~~~~~~~~~~~~~~~~~~~~~~~~~^ 275 | inboxReactorToken_.value(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | outboxReactorToken_.value(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 277 | reactorHeaderFd, | ~~~~~~~~~~~~~~~~ 278 | reactorDataFd, | ~~~~~~~~~~~~~~ 279 | inboxHeaderSegment_.getFd(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | inboxDataSegment_.getFd()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:107:12: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 107 | if (rv != iov.iov_len) { | ~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h: In instantiation of ‘void tensorpipe::{anonymous}::loadFdsFromArray(int*, std::index_sequence, Fds& ...) [with long unsigned int ...Idxs = {0, 1, 2, 3}; Fds = {tensorpipe::Fd, tensorpipe::Fd, tensorpipe::Fd, tensorpipe::Fd}; std::index_sequence = std::integer_sequence]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:171:19: required from ‘tensorpipe::Error tensorpipe::recvFromSocket(int, T&, T&, Fds& ...) [with T = unsigned int; Fds = {Fd, Fd, Fd, Fd}]’ 171 | loadFdsFromArray(payload, std::index_sequence_for{}, fds...); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:253:26: required from ‘tensorpipe::Error tensorpipe::Socket::recvPayloadAndFds(T&, T&, Fds& ...) [with T = unsigned int; Fds = {tensorpipe::Fd, tensorpipe::Fd, tensorpipe::Fd, tensorpipe::Fd}; typename std::enable_if::value, bool>::type = false]’ 253 | return recvFromSocket(fd_, t1, t2, fds...); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/connection_impl.cc:219:41: required from here 219 | auto err = socket_.recvPayloadAndFds( | ~~~~~~~~~~~~~~~~~~~~~~~~~^ 220 | peerInboxReactorToken, | ~~~~~~~~~~~~~~~~~~~~~~ 221 | peerOutboxReactorToken, | ~~~~~~~~~~~~~~~~~~~~~~~ 222 | reactorHeaderFd, | ~~~~~~~~~~~~~~~~ 223 | reactorDataFd, | ~~~~~~~~~~~~~~ 224 | outboxHeaderFd, | ~~~~~~~~~~~~~~~ 225 | outboxDataFd); | ~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:58:8: warning: unused variable ‘dummy’ [-Wunused-variable] 58 | auto dummy = {(loadOneFdFromArray(array[Idxs], fds), 0)...}; | ^~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h: In instantiation of ‘void tensorpipe::{anonymous}::saveFdsToArray(int*, std::index_sequence, const Fds& ...) [with long unsigned int ...Idxs = {0, 1, 2, 3}; Fds = {int, int, int, int}; std::index_sequence = std::integer_sequence]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:96:17: required from ‘tensorpipe::Error tensorpipe::sendToSocket(int, const T&, const T&, const Fds& ...) [with T = unsigned int; Fds = {int, int, int, int}]’ 96 | saveFdsToArray(payload, std::index_sequence_for{}, fds...); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:243:24: required from ‘tensorpipe::Error tensorpipe::Socket::sendPayloadAndFds(const T&, const T&, const Fds& ...) [with T = unsigned int; Fds = {int, int, int, int}; typename std::enable_if::value, bool>::type = false]’ 243 | return sendToSocket(fd_, t1, t2, fds...); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/connection_impl.cc:274:41: required from here 274 | auto err = socket_.sendPayloadAndFds( | ~~~~~~~~~~~~~~~~~~~~~~~~~^ 275 | inboxReactorToken_.value(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 276 | outboxReactorToken_.value(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 277 | reactorHeaderFd, | ~~~~~~~~~~~~~~~~ 278 | reactorDataFd, | ~~~~~~~~~~~~~~ 279 | inboxHeaderSegment_.getFd(), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | inboxDataSegment_.getFd()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:41:8: warning: unused variable ‘dummy’ [-Wunused-variable] 41 | auto dummy = {(saveOneFdToArray(array[Idxs], fds), 0)...}; | ^~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ [83/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/shm/context_impl.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/connection_impl.h:21, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/context_impl.cc:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [84/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/shm/factory.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/connection_impl.h:21, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/factory.cc:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [85/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/shm/listener_impl.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/listener_impl.h:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/listener_impl.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [86/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/shm/reactor.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/deferred_executor.h:23, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/busy_polling_loop.h:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/reactor.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/reactor.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/ringbuffer_role.h: In instantiation of ‘ssize_t tensorpipe::RingBufferRole::write(const void*, size_t) [with int NumRoles = 2; int RoleIdx = 1; ssize_t = long int; size_t = long unsigned int]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/reactor.cc:22:29: required from here 22 | auto rv = producer.write(&token, sizeof(token)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:49: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:27:39: note: in definition of macro ‘unlikely’ 27 | #define unlikely(x) __builtin_expect((x) ? 1 : 0, 0) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:226:3: note: in expansion of macro ‘__TP_DCHECK_CMP’ 226 | __TP_DCHECK_CMP(a, b, op) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:28: note: in expansion of macro ‘_TP_DCHECK_CMP’ 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/ringbuffer_role.h:270:5: note: in expansion of macro ‘TP_DCHECK_EQ’ 270 | TP_DCHECK_EQ(ret, size); | ^~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/ringbuffer_role.h: In instantiation of ‘ssize_t tensorpipe::RingBufferRole::read(void*, size_t) [with int NumRoles = 2; int RoleIdx = 0; ssize_t = long int; size_t = long unsigned int]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/reactor.cc:114:34: required from here 114 | auto ret = reactorConsumer.read(&token, sizeof(token)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:49: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:27:39: note: in definition of macro ‘unlikely’ 27 | #define unlikely(x) __builtin_expect((x) ? 1 : 0, 0) | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:226:3: note: in expansion of macro ‘__TP_DCHECK_CMP’ 226 | __TP_DCHECK_CMP(a, b, op) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/defs.h:243:28: note: in expansion of macro ‘_TP_DCHECK_CMP’ 243 | #define TP_DCHECK_EQ(a, b) _TP_DCHECK_CMP(a, b, ==) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/ringbuffer_role.h:248:5: note: in expansion of macro ‘TP_DCHECK_EQ’ 248 | TP_DCHECK_EQ(ret, size); | ^~~~~~~~~~~~ [87/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/shm/sockaddr.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/sockaddr.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/shm/sockaddr.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [88/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/common/ibv.cc.o [89/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/ibv/connection_impl.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/ibv/connection_impl.h:23, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/ibv/connection_impl.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [90/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/ibv/context_impl.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/ibv/connection_impl.h:23, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/ibv/context_impl.cc:11: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [91/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/ibv/error.cc.o [92/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/ibv/factory.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/ibv/connection_impl.h:23, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/ibv/factory.cc:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [93/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/ibv/listener_impl.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/ibv/sockaddr.h:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/ibv/listener_impl.h:21, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/ibv/listener_impl.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [94/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/ibv/reactor.cc.o [95/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/ibv/sockaddr.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/ibv/sockaddr.h:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/ibv/sockaddr.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [96/2497] Building CXX object third_party/tensorpipe/tensorpipe/CMakeFiles/tensorpipe.dir/transport/ibv/utility.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/transport/ibv/utility.cc:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:48:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, tensorpipe::Fd&)’ defined but not used [-Wunused-function] 48 | void loadOneFdFromArray(int& src, Fd& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:44:6: warning: ‘void tensorpipe::{anonymous}::loadOneFdFromArray(int&, int&)’ defined but not used [-Wunused-function] 44 | void loadOneFdFromArray(int& src, int& dst) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:31:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const tensorpipe::Fd&)’ defined but not used [-Wunused-function] 31 | void saveOneFdToArray(int& dst, const Fd& src) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/third_party/tensorpipe/tensorpipe/common/socket.h:27:6: warning: ‘void tensorpipe::{anonymous}::saveOneFdToArray(int&, const int&)’ defined but not used [-Wunused-function] 27 | void saveOneFdToArray(int& dst, const int& src) { | ^~~~~~~~~~~~~~~~ [97/2497] Building CXX object c10/CMakeFiles/c10.dir/core/Allocator.cpp.o [98/2497] Building CXX object c10/CMakeFiles/c10.dir/core/AutogradState.cpp.o [99/2497] Building CXX object c10/CMakeFiles/c10.dir/core/CPUAllocator.cpp.o [100/2497] Building CXX object c10/CMakeFiles/c10.dir/core/ConstantSymNodeImpl.cpp.o [101/2497] Building CXX object c10/CMakeFiles/c10.dir/core/CopyBytes.cpp.o [102/2497] Building CXX object c10/CMakeFiles/c10.dir/core/DefaultDtype.cpp.o [103/2497] Building CXX object c10/CMakeFiles/c10.dir/core/Device.cpp.o [104/2497] Building CXX object c10/CMakeFiles/c10.dir/core/DeviceType.cpp.o [105/2497] Building CXX object c10/CMakeFiles/c10.dir/core/DispatchKey.cpp.o [106/2497] Building CXX object c10/CMakeFiles/c10.dir/core/DispatchKeySet.cpp.o [107/2497] Building CXX object c10/CMakeFiles/c10.dir/core/GeneratorImpl.cpp.o [108/2497] Building CXX object c10/CMakeFiles/c10.dir/core/GradMode.cpp.o [109/2497] Building CXX object c10/CMakeFiles/c10.dir/core/InferenceMode.cpp.o [110/2497] Building CXX object c10/CMakeFiles/c10.dir/core/RefcountedDeleter.cpp.o [111/2497] Building CXX object c10/CMakeFiles/c10.dir/core/SafePyObject.cpp.o [112/2497] Building CXX object c10/CMakeFiles/c10.dir/core/Scalar.cpp.o [113/2497] Building CXX object c10/CMakeFiles/c10.dir/core/ScalarType.cpp.o [114/2497] Building CXX object c10/CMakeFiles/c10.dir/core/Storage.cpp.o [115/2497] Building CXX object c10/CMakeFiles/c10.dir/core/StorageImpl.cpp.o [116/2497] Building CXX object c10/CMakeFiles/c10.dir/core/Stream.cpp.o [117/2497] Building CXX object c10/CMakeFiles/c10.dir/core/SymBool.cpp.o [118/2497] Building CXX object c10/CMakeFiles/c10.dir/core/SymFloat.cpp.o [119/2497] Building CXX object c10/CMakeFiles/c10.dir/core/SymInt.cpp.o [120/2497] Building CXX object c10/CMakeFiles/c10.dir/core/SymIntArrayRef.cpp.o [121/2497] Building CXX object c10/CMakeFiles/c10.dir/core/SymNodeImpl.cpp.o [122/2497] Building CXX object c10/CMakeFiles/c10.dir/core/SymbolicShapeMeta.cpp.o [123/2497] Building CXX object c10/CMakeFiles/c10.dir/core/TensorImpl.cpp.o [124/2497] Building CXX object c10/CMakeFiles/c10.dir/core/TensorOptions.cpp.o [125/2497] Building CXX object c10/CMakeFiles/c10.dir/core/UndefinedTensorImpl.cpp.o [126/2497] Building CXX object c10/CMakeFiles/c10.dir/core/WrapDimMinimal.cpp.o [127/2497] Building CXX object c10/CMakeFiles/c10.dir/core/impl/COW.cpp.o [128/2497] Building CXX object c10/CMakeFiles/c10.dir/core/impl/COWDeleter.cpp.o [129/2497] Building CXX object c10/CMakeFiles/c10.dir/core/impl/DeviceGuardImplInterface.cpp.o [130/2497] Building CXX object c10/CMakeFiles/c10.dir/core/impl/GPUTrace.cpp.o [131/2497] Building CXX object c10/CMakeFiles/c10.dir/core/impl/HermeticPyObjectTLS.cpp.o [132/2497] Building CXX object c10/CMakeFiles/c10.dir/core/impl/LocalDispatchKeySet.cpp.o [133/2497] Building CXX object c10/CMakeFiles/c10.dir/core/impl/PyInterpreter.cpp.o [134/2497] Building CXX object c10/CMakeFiles/c10.dir/core/impl/PyObjectSlot.cpp.o [135/2497] Building CXX object c10/CMakeFiles/c10.dir/core/impl/PythonDispatcherTLS.cpp.o [136/2497] Building CXX object c10/CMakeFiles/c10.dir/core/impl/SizesAndStrides.cpp.o [137/2497] Building CXX object c10/CMakeFiles/c10.dir/core/impl/TorchDispatchModeTLS.cpp.o [138/2497] Building CXX object c10/CMakeFiles/c10.dir/core/impl/alloc_cpu.cpp.o [139/2497] Building CXX object c10/CMakeFiles/c10.dir/core/thread_pool.cpp.o [140/2497] Building CXX object c10/CMakeFiles/c10.dir/mobile/CPUCachingAllocator.cpp.o [141/2497] Building CXX object c10/CMakeFiles/c10.dir/mobile/CPUProfilingAllocator.cpp.o [142/2497] Building CXX object c10/CMakeFiles/c10.dir/util/ApproximateClock.cpp.o [143/2497] Building CXX object c10/CMakeFiles/c10.dir/util/Backtrace.cpp.o [144/2497] Building CXX object c10/CMakeFiles/c10.dir/util/C++17.cpp.o [145/2497] Building CXX object c10/CMakeFiles/c10.dir/util/DeadlockDetection.cpp.o [146/2497] Building CXX object c10/CMakeFiles/c10.dir/util/Exception.cpp.o [147/2497] Building CXX object c10/CMakeFiles/c10.dir/util/Float8_e4m3fn.cpp.o [148/2497] Building CXX object c10/CMakeFiles/c10.dir/util/Float8_e4m3fnuz.cpp.o [149/2497] Building CXX object c10/CMakeFiles/c10.dir/util/Float8_e5m2.cpp.o [150/2497] Building CXX object c10/CMakeFiles/c10.dir/util/Float8_e5m2fnuz.cpp.o [151/2497] Building CXX object c10/CMakeFiles/c10.dir/util/Half.cpp.o [152/2497] Building CXX object c10/CMakeFiles/c10.dir/util/LeftRight.cpp.o [153/2497] Building CXX object c10/CMakeFiles/c10.dir/util/Logging.cpp.o [154/2497] Building CXX object c10/CMakeFiles/c10.dir/util/MathConstants.cpp.o [155/2497] Building CXX object c10/CMakeFiles/c10.dir/util/Metaprogramming.cpp.o [156/2497] Building CXX object c10/CMakeFiles/c10.dir/util/Optional.cpp.o [157/2497] Building CXX object c10/CMakeFiles/c10.dir/util/ParallelGuard.cpp.o [158/2497] Building CXX object c10/CMakeFiles/c10.dir/util/SmallVector.cpp.o [159/2497] Building CXX object c10/CMakeFiles/c10.dir/util/StringUtil.cpp.o [160/2497] Building CXX object c10/CMakeFiles/c10.dir/util/ThreadLocalDebugInfo.cpp.o [161/2497] Building CXX object c10/CMakeFiles/c10.dir/util/TypeCast.cpp.o [162/2497] Building CXX object c10/CMakeFiles/c10.dir/util/TypeList.cpp.o [163/2497] Building CXX object c10/CMakeFiles/c10.dir/util/TypeTraits.cpp.o [164/2497] Building CXX object c10/CMakeFiles/c10.dir/util/Type_demangle.cpp.o [165/2497] Building CXX object c10/CMakeFiles/c10.dir/util/Type_no_demangle.cpp.o [166/2497] Building CXX object c10/CMakeFiles/c10.dir/util/Unicode.cpp.o [167/2497] Building CXX object c10/CMakeFiles/c10.dir/util/UniqueVoidPtr.cpp.o [168/2497] Building CXX object c10/CMakeFiles/c10.dir/util/complex_math.cpp.o [169/2497] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_gflags.cpp.o [170/2497] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_no_gflags.cpp.o [171/2497] Building CXX object c10/CMakeFiles/c10.dir/util/int128.cpp.o [172/2497] Building CXX object c10/CMakeFiles/c10.dir/util/intrusive_ptr.cpp.o [173/2497] Building CXX object c10/CMakeFiles/c10.dir/util/numa.cpp.o [174/2497] Building CXX object c10/CMakeFiles/c10.dir/util/signal_handler.cpp.o [175/2497] Building CXX object c10/CMakeFiles/c10.dir/util/tempfile.cpp.o [176/2497] Building CXX object c10/CMakeFiles/c10.dir/util/thread_name.cpp.o [177/2497] Building CXX object c10/CMakeFiles/c10.dir/util/typeid.cpp.o [178/2497] Generating contrib/aten/aten_op.h Skipping rename Because of Arg: c10::optional (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) Skipping _functional_sym_constrain_range_for_size Because of Arg: c10::optional (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 (::std::array) Skipping _cudnn_init_dropout_state because it is a factory method Skipping _fused_dropout Because of Arg: c10::optional (at::Generator) Skipping native_dropout Because of Arg: c10::optional (bool) Skipping _sobol_engine_draw Because of Arg: c10::optional (at::ScalarType) Skipping chalf Because of Arg: c10::optional (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) Skipping argmax Because of Arg: c10::optional (int64_t) Skipping argmin Because of Arg: c10::optional (int64_t) Skipping argmin Because of Arg: c10::optional (int64_t) Skipping as_strided Because of Arg: c10::optional (int64_t) Skipping bartlett_window because it is a factory method Skipping bernoulli Because of Arg: c10::optional (at::Generator) Skipping bernoulli Because of Arg: c10::optional (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 & (const at::Scalar &) Skipping clamp Because of Arg: const c10::optional & (const at::Scalar &) Skipping clip Because of Arg: const c10::optional & (const at::Scalar &) Skipping clip Because of Arg: const c10::optional & (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) Skipping cudnn_convolution_add_relu Because of Arg: const c10::optional & (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) 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) 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 & (const at::Scalar &) Skipping gradient Because of Arg: const c10::optional & (const at::Scalar &) Skipping gradient Because of Arg: const c10::optional & (const at::Scalar &) Skipping gradient Because of Arg: at::ArrayRef (at::ArrayRef) Skipping gradient Because of Arg: at::ArrayRef (at::ArrayRef) Skipping gradient Because of Arg: at::ArrayRef (at::ArrayRef) Skipping gradient Because of Arg: at::ArrayRef (at::ArrayRef) Skipping gradient Because of Arg: at::ArrayRef (at::ArrayRef) Skipping gradient Because of Arg: c10::optional (int64_t) Skipping gradient Because of Arg: c10::optional (int64_t) Skipping div Because of Arg: c10::optional (c10::string_view) Skipping div Because of Arg: c10::optional (c10::string_view) Skipping divide Because of Arg: c10::optional (c10::string_view) Skipping divide Because of Arg: c10::optional (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) 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) Skipping nan_to_num Because of Arg: c10::optional (double) Skipping nan_to_num Because of Arg: c10::optional (double) Skipping _cslt_sparse_mm Because of Arg: c10::optional (at::ScalarType) Skipping _cslt_sparse_mm Because of Arg: c10::optional (at::ScalarType) Skipping _cslt_sparse_mm Because of Arg: c10::optional (at::ScalarType) Skipping _cslt_sparse_mm_search Because of Arg: c10::optional (at::ScalarType) Skipping _cslt_sparse_mm_search Because of Arg: c10::optional (at::ScalarType) Skipping _sparse_semi_structured_linear Because of Arg: c10::optional (c10::string_view) Skipping _sparse_semi_structured_linear Because of Arg: c10::optional (c10::string_view) Skipping _mixed_dtypes_linear Because of Arg: c10::optional (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) 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) Skipping aminmax Because of Arg: c10::optional (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) 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 & (const at::Scalar &) Skipping miopen_rnn_backward Because of Arg: ::std::array (::std::array) 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) Skipping _cdist_forward Because of Arg: c10::optional (int64_t) Skipping is_pinned Because of Arg: c10::optional (at::Device) Skipping pin_memory Because of Arg: c10::optional (at::Device) Skipping _pin_memory Because of Arg: c10::optional (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) Skipping repeat_interleave Because of Arg: c10::optional (int64_t) Skipping repeat_interleave Because of Arg: c10::optional (int64_t) Skipping repeat_interleave Because of Arg: c10::optional (int64_t) Skipping repeat_interleave Because of Arg: c10::optional (int64_t) Skipping rrelu Because of Arg: c10::optional (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) 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) Skipping slice Because of Arg: c10::optional (int64_t) Skipping slice Because of Arg: c10::optional (int64_t) Skipping slice_inverse Because of Arg: c10::optional (int64_t) Skipping slice_inverse Because of Arg: c10::optional (int64_t) Skipping slice_inverse Because of Arg: c10::optional (int64_t) Skipping slice_scatter Because of Arg: c10::optional (int64_t) Skipping slice_scatter Because of Arg: c10::optional (int64_t) Skipping slice_scatter Because of Arg: c10::optional (int64_t) Skipping as_strided_scatter Because of Arg: c10::optional (int64_t) Skipping softmax Because of Arg: c10::optional (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) Skipping stft Because of Arg: c10::optional (int64_t) Skipping stft Because of Arg: c10::optional (int64_t) Skipping stft Because of Arg: c10::optional (int64_t) Skipping stft Because of Arg: c10::optional (int64_t) Skipping stft Because of Arg: c10::optional (int64_t) Skipping stft Because of Arg: c10::optional (int64_t) Skipping stft Because of Arg: c10::optional (int64_t) Skipping stft Because of Arg: c10::optional (int64_t) Skipping stft Because of Arg: c10::optional (int64_t) Skipping stft Because of Arg: c10::optional (int64_t) Skipping stft Because of Arg: c10::optional (int64_t) Skipping stft Because of Arg: c10::optional (int64_t) Skipping stft Because of Arg: c10::optional (int64_t) Skipping istft Because of Arg: c10::optional (int64_t) Skipping istft Because of Arg: c10::optional (int64_t) Skipping istft Because of Arg: c10::optional (int64_t) Skipping istft Because of Arg: c10::optional (int64_t) Skipping istft Because of Arg: c10::optional (int64_t) Skipping istft Because of Arg: c10::optional (int64_t) Skipping istft Because of Arg: c10::optional (int64_t) Skipping istft Because of Arg: c10::optional (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) 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) Skipping prod Because of Arg: c10::optional (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) Skipping vander Because of Arg: c10::optional (int64_t) Skipping vander Because of Arg: c10::optional (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: c10::optional (at::Generator) Skipping _sample_dirichlet Because of Arg: c10::optional (at::Generator) Skipping poisson Because of Arg: c10::optional (at::Generator) Skipping binomial Because of Arg: c10::optional (at::Generator) Skipping native_norm Because of Arg: const c10::optional & (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) Skipping _sparse_csr_prod Because of Arg: c10::optional (at::ScalarType) Skipping _sparse_softmax Because of Arg: c10::optional (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) 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) Skipping norm Because of Arg: const c10::optional & (const at::Scalar &) Skipping norm Because of Arg: const c10::optional & (const at::Scalar &) Skipping norm Because of Arg: const c10::optional & (const at::Scalar &) Skipping norm Because of Arg: const c10::optional & (const at::Scalar &) Skipping norm Because of Arg: const c10::optional & (const at::Scalar &) Skipping norm Because of Arg: const c10::optional & (const at::Scalar &) Skipping norm Because of Arg: const c10::optional & (const at::Scalar &) Skipping clone Because of Arg: c10::optional (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) Skipping _scaled_mm Because of Arg: c10::optional (at::ScalarType) Skipping _scaled_mm Because of Arg: c10::optional (at::ScalarType) Skipping _scaled_mm Because of Arg: c10::optional (at::ScalarType) Skipping _scaled_mm Because of Arg: c10::optional (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) Skipping to_dense Because of Arg: c10::optional (at::ScalarType) Skipping _to_dense Because of Arg: c10::optional (at::ScalarType) Skipping _to_dense Because of Arg: c10::optional (at::ScalarType) Skipping to_dense_backward Because of Arg: c10::optional (bool) Skipping unbind Because of Arg: at::Dimname (at::Dimname) Skipping to_sparse Because of Arg: c10::optional (at::Layout) Skipping to_sparse Because of Arg: c10::optional (at::Layout) Skipping to_sparse Because of Arg: c10::optional (at::Layout) Skipping _to_sparse Because of Arg: c10::optional (at::Layout) Skipping _to_sparse Because of Arg: c10::optional (at::Layout) Skipping _to_sparse Because of Arg: c10::optional (at::Layout) Skipping to_sparse_csr Because of Arg: c10::optional (int64_t) Skipping _to_sparse_csr Because of Arg: c10::optional (int64_t) Skipping to_sparse_csc Because of Arg: c10::optional (int64_t) Skipping _to_sparse_csc Because of Arg: c10::optional (int64_t) Skipping to_sparse_bsr Because of Arg: c10::optional (int64_t) Skipping _to_sparse_bsr Because of Arg: c10::optional (int64_t) Skipping to_sparse_bsc Because of Arg: c10::optional (int64_t) Skipping _to_sparse_bsc Because of Arg: c10::optional (int64_t) Skipping to_mkldnn Because of Arg: c10::optional (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) Skipping _masked_softmax Because of Arg: c10::optional (int64_t) Skipping _masked_softmax_backward Because of Arg: c10::optional (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) 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) 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) Skipping multinomial Because of Arg: c10::optional (at::Generator) Skipping histogram Because of Arg: c10::optional> (at::ArrayRef) Skipping histogram Because of Arg: c10::optional> (at::ArrayRef) Skipping histogram Because of Arg: c10::optional> (at::ArrayRef) Skipping _histogramdd_bin_edges Because of Arg: c10::optional> (at::ArrayRef) Skipping _histogramdd_bin_edges Because of Arg: c10::optional> (at::ArrayRef) Skipping _histogramdd_bin_edges Because of Arg: c10::optional> (at::ArrayRef) Skipping _histogramdd_from_bin_cts Because of Arg: c10::optional> (at::ArrayRef) Skipping _histogramdd_from_bin_cts Because of Arg: c10::optional> (at::ArrayRef) Skipping _histogramdd_from_bin_cts Because of Arg: c10::optional> (at::ArrayRef) Skipping histogramdd Because of Arg: c10::optional> (at::ArrayRef) Skipping histogramdd Because of Arg: c10::optional> (at::ArrayRef) Skipping histogramdd Because of Arg: c10::optional> (at::ArrayRef) Skipping histogramdd Because of Arg: c10::optional> (at::ArrayRef) Skipping histogramdd Because of Arg: c10::optional> (at::ArrayRef) Skipping histogramdd Because of Arg: c10::optional> (at::ArrayRef) Skipping histogramdd Because of Arg: c10::optional> (at::ArrayRef) Skipping histogramdd Because of Arg: c10::optional> (at::ArrayRef) Skipping histogramdd Because of Arg: c10::optional> (at::ArrayRef) Skipping quantile Because of Arg: c10::optional (int64_t) Skipping quantile Because of Arg: c10::optional (int64_t) Skipping quantile Because of Arg: c10::optional (int64_t) Skipping quantile Because of Arg: c10::optional (int64_t) Skipping quantile Because of Arg: c10::optional (int64_t) Skipping quantile Because of Arg: c10::optional (int64_t) Skipping nanquantile Because of Arg: c10::optional (int64_t) Skipping nanquantile Because of Arg: c10::optional (int64_t) Skipping nanquantile Because of Arg: c10::optional (int64_t) Skipping nanquantile Because of Arg: c10::optional (int64_t) Skipping nanquantile Because of Arg: c10::optional (int64_t) Skipping nanquantile Because of Arg: c10::optional (int64_t) Skipping sort Because of Arg: c10::optional (bool) Skipping sort Because of Arg: c10::optional (bool) Skipping sort Because of Arg: c10::optional (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) Skipping sort Because of Arg: c10::optional (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: c10::optional (at::Generator) Skipping normal because it is a factory method Skipping _foreach_add Because of Arg: at::ArrayRef (at::ArrayRef) Skipping _foreach_sub Because of Arg: at::ArrayRef (at::ArrayRef) Skipping _foreach_mul Because of Arg: at::ArrayRef (at::ArrayRef) Skipping _foreach_div Because of Arg: at::ArrayRef (at::ArrayRef) Skipping _foreach_clamp_max Because of Arg: at::ArrayRef (at::ArrayRef) Skipping _foreach_clamp_min Because of Arg: at::ArrayRef (at::ArrayRef) Skipping _foreach_maximum Because of Arg: at::ArrayRef (at::ArrayRef) Skipping _foreach_minimum Because of Arg: at::ArrayRef (at::ArrayRef) Skipping _foreach_addcdiv Because of Arg: at::ArrayRef (at::ArrayRef) Skipping _foreach_addcmul Because of Arg: at::ArrayRef (at::ArrayRef) Skipping _foreach_pow Because of Arg: at::ArrayRef (at::ArrayRef) Skipping searchsorted Because of Arg: c10::optional (c10::string_view) Skipping searchsorted Because of Arg: c10::optional (c10::string_view) Skipping searchsorted Because of Arg: c10::optional (c10::string_view) Skipping searchsorted Because of Arg: c10::optional (c10::string_view) Skipping rrelu_with_noise Because of Arg: c10::optional (at::Generator) Skipping avg_pool2d Because of Arg: c10::optional (int64_t) Skipping avg_pool2d_backward Because of Arg: c10::optional (int64_t) Skipping avg_pool3d Because of Arg: c10::optional (int64_t) Skipping avg_pool3d_backward Because of Arg: c10::optional (int64_t) Skipping _pad_enum Because of Arg: c10::optional (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) Skipping upsample_linear1d_backward Because of Arg: c10::optional (double) Skipping upsample_bilinear2d Because of Arg: c10::optional (double) Skipping upsample_bilinear2d Because of Arg: c10::optional (double) Skipping upsample_bilinear2d_backward Because of Arg: c10::optional (double) Skipping upsample_bilinear2d_backward Because of Arg: c10::optional (double) Skipping _upsample_bilinear2d_aa Because of Arg: c10::optional (double) Skipping _upsample_bilinear2d_aa Because of Arg: c10::optional (double) Skipping _upsample_bilinear2d_aa_backward Because of Arg: c10::optional (double) Skipping _upsample_bilinear2d_aa_backward Because of Arg: c10::optional (double) Skipping upsample_bicubic2d Because of Arg: c10::optional (double) Skipping upsample_bicubic2d Because of Arg: c10::optional (double) Skipping upsample_bicubic2d_backward Because of Arg: c10::optional (double) Skipping upsample_bicubic2d_backward Because of Arg: c10::optional (double) Skipping _upsample_bicubic2d_aa Because of Arg: c10::optional (double) Skipping _upsample_bicubic2d_aa Because of Arg: c10::optional (double) Skipping _upsample_bicubic2d_aa_backward Because of Arg: c10::optional (double) Skipping _upsample_bicubic2d_aa_backward Because of Arg: c10::optional (double) Skipping upsample_trilinear3d Because of Arg: c10::optional (double) Skipping upsample_trilinear3d Because of Arg: c10::optional (double) Skipping upsample_trilinear3d Because of Arg: c10::optional (double) Skipping upsample_trilinear3d_backward Because of Arg: c10::optional (double) Skipping upsample_trilinear3d_backward Because of Arg: c10::optional (double) Skipping upsample_trilinear3d_backward Because of Arg: c10::optional (double) Skipping upsample_nearest1d Because of Arg: c10::optional (double) Skipping _upsample_nearest_exact1d Because of Arg: c10::optional (double) Skipping upsample_nearest1d_backward Because of Arg: c10::optional (double) Skipping _upsample_nearest_exact1d_backward Because of Arg: c10::optional (double) Skipping upsample_nearest2d Because of Arg: c10::optional (double) Skipping upsample_nearest2d Because of Arg: c10::optional (double) Skipping _upsample_nearest_exact2d Because of Arg: c10::optional (double) Skipping _upsample_nearest_exact2d Because of Arg: c10::optional (double) Skipping upsample_nearest2d_backward Because of Arg: c10::optional (double) Skipping upsample_nearest2d_backward Because of Arg: c10::optional (double) Skipping _upsample_nearest_exact2d_backward Because of Arg: c10::optional (double) Skipping _upsample_nearest_exact2d_backward Because of Arg: c10::optional (double) Skipping upsample_nearest3d Because of Arg: c10::optional (double) Skipping upsample_nearest3d Because of Arg: c10::optional (double) Skipping upsample_nearest3d Because of Arg: c10::optional (double) Skipping _upsample_nearest_exact3d Because of Arg: c10::optional (double) Skipping _upsample_nearest_exact3d Because of Arg: c10::optional (double) Skipping _upsample_nearest_exact3d Because of Arg: c10::optional (double) Skipping upsample_nearest3d_backward Because of Arg: c10::optional (double) Skipping upsample_nearest3d_backward Because of Arg: c10::optional (double) Skipping upsample_nearest3d_backward Because of Arg: c10::optional (double) Skipping _upsample_nearest_exact3d_backward Because of Arg: c10::optional (double) Skipping _upsample_nearest_exact3d_backward Because of Arg: c10::optional (double) Skipping _upsample_nearest_exact3d_backward Because of Arg: c10::optional (double) Skipping logit_backward Because of Arg: c10::optional (double) Skipping special_logit Because of Arg: c10::optional (double) Skipping special_log_softmax Because of Arg: c10::optional (at::ScalarType) Skipping special_softmax Because of Arg: c10::optional (at::ScalarType) Skipping fft_fft Because of Arg: c10::optional (int64_t) Skipping fft_fft Because of Arg: c10::optional (int64_t) Skipping fft_fft Because of Arg: c10::optional (int64_t) Skipping fft_ifft Because of Arg: c10::optional (int64_t) Skipping fft_ifft Because of Arg: c10::optional (int64_t) Skipping fft_ifft Because of Arg: c10::optional (int64_t) Skipping fft_rfft Because of Arg: c10::optional (int64_t) Skipping fft_rfft Because of Arg: c10::optional (int64_t) Skipping fft_rfft Because of Arg: c10::optional (int64_t) Skipping fft_irfft Because of Arg: c10::optional (int64_t) Skipping fft_irfft Because of Arg: c10::optional (int64_t) Skipping fft_irfft Because of Arg: c10::optional (int64_t) Skipping fft_hfft Because of Arg: c10::optional (int64_t) Skipping fft_hfft Because of Arg: c10::optional (int64_t) Skipping fft_hfft Because of Arg: c10::optional (int64_t) Skipping fft_ihfft Because of Arg: c10::optional (int64_t) Skipping fft_ihfft Because of Arg: c10::optional (int64_t) Skipping fft_ihfft Because of Arg: c10::optional (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) Skipping linalg_lstsq Because of Arg: c10::optional (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 & (const at::Scalar &) Skipping linalg_norm Because of Arg: const c10::optional & (const at::Scalar &) Skipping linalg_norm Because of Arg: const c10::optional & (const at::Scalar &) Skipping linalg_norm Because of Arg: const c10::optional & (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) 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) Skipping linalg_svd Because of Arg: c10::optional (c10::string_view) Skipping linalg_svdvals Because of Arg: c10::optional (c10::string_view) Skipping linalg_cond Because of Arg: const c10::optional & (const at::Scalar &) Skipping linalg_cond Because of Arg: c10::string_view (c10::string_view) Skipping linalg_pinv Because of Arg: c10::optional (double) Skipping linalg_pinv Because of Arg: c10::optional (double) Skipping linalg_pinv Because of Arg: c10::optional (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) Skipping linalg_matrix_rank Because of Arg: c10::optional (double) Skipping linalg_matrix_rank Because of Arg: c10::optional (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) 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) Skipping _nested_tensor_from_tensor_list Because of Arg: c10::optional (at::ScalarType) Skipping _nested_tensor_from_tensor_list Because of Arg: c10::optional (at::ScalarType) Skipping _nested_tensor_from_tensor_list Because of Arg: c10::optional (at::ScalarType) Skipping as_strided_copy Because of Arg: c10::optional (int64_t) Skipping slice_copy Because of Arg: c10::optional (int64_t) Skipping slice_copy Because of Arg: c10::optional (int64_t) Skipping slice_copy Because of Arg: c10::optional (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) Skipping _native_multi_head_attention Because of Arg: c10::optional (int64_t) Skipping scaled_dot_product_attention Because of Arg: c10::optional (double) Skipping _fused_sdp_choice Because of Arg: c10::optional (double) Skipping _scaled_dot_product_attention_math Because of Arg: c10::optional (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) Skipping _scaled_dot_product_flash_attention_backward Because of Arg: c10::optional (double) Skipping _scaled_dot_product_flash_attention_for_cpu_backward Because of Arg: c10::optional (double) Skipping _scaled_dot_product_efficient_attention Because of Arg: c10::optional (double) Skipping _scaled_dot_product_efficient_attention_backward Because of Arg: ::std::array (::std::array) Skipping _scaled_dot_product_efficient_attention_backward Because of Arg: ::std::array (::std::array) Skipping _scaled_dot_product_efficient_attention_backward Because of Arg: ::std::array (::std::array) Skipping _scaled_dot_product_cudnn_attention Because of Arg: c10::optional (double) Skipping _flash_attention_forward Because of Arg: c10::optional (double) Skipping _flash_attention_backward Because of Arg: c10::optional (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) Skipping _efficient_attention_backward Because of Arg: c10::optional (double) Skipping bernoulli Because of Arg: c10::optional (at::Generator) Skipping resize Because of Arg: c10::optional (at::MemoryFormat) Skipping resize_as Because of Arg: c10::optional (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) Skipping random Because of Arg: c10::optional (int64_t) Skipping random Because of Arg: c10::optional (at::Generator) Skipping random Because of Arg: c10::optional (at::Generator) Skipping uniform Because of Arg: c10::optional (at::Generator) Skipping cauchy Because of Arg: c10::optional (at::Generator) Skipping log_normal Because of Arg: c10::optional (at::Generator) Skipping exponential Because of Arg: c10::optional (at::Generator) Skipping geometric Because of Arg: c10::optional (at::Generator) [179/2497] Generating /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/Functions.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/ViewFuncs.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/VariableType_0.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/VariableType_1.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/VariableType_2.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/VariableType_3.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/VariableType_4.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/TraceType_0.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/TraceType_1.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/TraceType_2.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/TraceType_3.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/TraceType_4.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/ADInplaceOrViewType_0.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/ADInplaceOrViewType_1.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/inductor/aoti_torch/generated/c_shim_cpu.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/generated/LazyNativeFunctions.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/generated/RegisterAutogradLazy.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/generated/RegisterLazy.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/Functions.h, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/variable_factories.h, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/ViewFuncs.h, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/VariableType.h, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/generated/LazyIr.h, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/generated/LazyNonNativeIr.h, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/generated/LazyNativeFunctions.h, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_functions_0.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_functions_1.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_functions_2.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_functions_3.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_functions_4.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_variable_methods.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_torch_functions_0.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_torch_functions_1.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_torch_functions_2.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_nn_functions.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_fft_functions.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_linalg_functions.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_nested_functions.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_sparse_functions.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_special_functions.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_return_types.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_enum_tag.cpp, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_functions.h, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_return_types.h, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/testing/_internal/generated/annotated_fn_args.py, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/inductor/aoti_torch/generated/c_shim_cuda.cpp [180/2497] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o [181/2497] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2_legacy.pb.cc.o [182/2497] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/hsm.pb.cc.o [183/2497] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/metanet.pb.cc.o [184/2497] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/predictor_consts.pb.cc.o [185/2497] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/prof_dag.pb.cc.o [186/2497] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/torch.pb.cc.o [187/2497] Linking C static library lib/libfp16.a [188/2497] Linking CXX static library lib/libtensorpipe.a [189/2497] Linking CXX shared library lib/libc10.so [190/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/AccumulateType.cpp.o [191/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CPUGeneratorImpl.cpp.o [192/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CachedTensorUtils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/CachedTensorUtils.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [193/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ConjugateFallback.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/MathBitsFallback.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ConjugateFallback.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [194/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Context.cpp.o [195/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DLConvertor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DLConvertor.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DLConvertor.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [196/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DeviceAccelerator.cpp.o [197/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Dispatch.cpp.o [198/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DynamicLibrary.cpp.o [199/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/EmptyTensor.cpp.o [200/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ExpandUtils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [201/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FuncTorchTLS.cpp.o [202/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalInverses.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalInverses.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [203/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalStorageImpl.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalStorageImpl.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [204/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalTensorWrapper.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [205/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalizeFallbackKernel.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalizeFallbackKernel.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [206/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchedFallback.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/LegacyBatchedFallback.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/LegacyBatchedFallback.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/LegacyBatchedFallback.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [207/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchedTensorImpl.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/LegacyBatchedTensorImpl.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [208/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchingRegistrations.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/LegacyBatchingRegistrations.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [209/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyVmapMode.cpp.o [210/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyVmapTransforms.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/LegacyVmapTransforms.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/LegacyVmapTransforms.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [211/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MapAllocator.cpp.o [212/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MemoryOverlap.cpp.o [213/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NamedTensorUtils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [214/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NestedTensorImpl.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NestedTensorImpl.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [215/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelCommon.cpp.o [216/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNative.cpp.o [217/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNativeTBB.cpp.o [218/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelOpenMP.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ParallelFuture.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ParallelOpenMP.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [219/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelThreadPoolNative.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ParallelThreadPoolNative.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [220/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/PythonTorchFunctionTLS.cpp.o [221/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SavedTensorHooks.cpp.o [222/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ScalarOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ScalarOps.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [223/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SequenceNumber.cpp.o [224/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseCsrTensorImpl.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/SparseCsrTensorImpl.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [225/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorImpl.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/SparseTensorImpl.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [226/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/StorageUtils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/StorageUtils.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [227/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorGeometry.cpp.o [228/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIndexing.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorIndexing.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorIndexing.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [229/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIterator.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorIterator.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [230/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorMeta.cpp.o [231/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorNames.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [232/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorUtils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorUtils.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [233/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalPythonObjects.cpp.o [234/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalState.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [235/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Utils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/Utils.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [236/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Version.cpp.o [237/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapModeRegistrations.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/VmapModeRegistrations.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [238/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ZeroTensorFallback.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ZeroTensorFallback.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ZeroTensorFallback.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ZeroTensorFallback.cpp: In function ‘void at::zeroTensorFallback(const c10::OperatorHandle&, c10::DispatchKeySet, torch::jit::Stack*)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ZeroTensorFallback.cpp:69:43: note: the temporary was destroyed at the end of the full expression ‘tensors.c10::List::operator[](((long unsigned int)j)).c10::impl::ListElementReference > >::operator std::conditional_t()’ 69 | const Tensor& tensor = tensors[j]; | ^ [239/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/autocast_mode.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/autocast_mode.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/autocast_mode.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/autocast_mode.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [240/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/cpu/FlushDenormal.cpp.o [241/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/cpu/Utils.cpp.o [242/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CPUGuardImpl.cpp.o [243/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CUDAHooksInterface.cpp.o [244/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/HIPHooksInterface.cpp.o [245/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/IPUHooksInterface.cpp.o [246/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MPSHooksInterface.cpp.o [247/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MTIAHooksInterface.cpp.o [248/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MetaGuardImpl.cpp.o [249/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/ORTHooksInterface.cpp.o [250/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/PrivateUse1HooksInterface.cpp.o [251/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/XPUHooksInterface.cpp.o [252/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/ADInterpreters.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/ADInterpreters.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/ADInterpreters.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [253/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesActivation.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesActivation.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [254/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesBinaryOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesBinaryOps.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [255/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesConvolution.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesConvolution.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [256/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesDecompositions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesDecompositions.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [257/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesDynamic.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesDynamic.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesDynamic.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [258/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesFactory.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesFactory.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [259/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesHelper.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [260/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesLinearAlgebra.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesLinearAlgebra.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [261/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesLoss.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesLoss.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [262/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesModules.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesModules.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [263/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesNorm.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesNorm.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [264/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesPooling.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesPooling.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [265/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesRandomness.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesRandomness.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesRandomness.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [266/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesReduceOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesReduceOps.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [267/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesScatterOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesScatterOps.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [268/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesUnaryOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesUnaryOps.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [269/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesViews.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesViews.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [270/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchedFallback.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchedFallback.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchedFallback.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchedFallback.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [271/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchedTensorImpl.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/BatchedTensorImpl.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [272/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/DynamicLayer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [273/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/FunctionalizeInterpreter.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/FunctionalizeInterpreter.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/FunctionalizeInterpreter.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [274/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/Interpreter.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [275/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/LegacyBatchingRegistrations.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/LegacyBatchingRegistrations.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [276/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/LegacyVmapTransforms.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/LegacyVmapTransforms.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [277/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/PlumbingHelper.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/TensorWrapper.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/PlumbingHelper.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [278/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/PyTorchOperatorHacks.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/PyTorchOperatorHacks.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [279/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/TensorWrapper.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/TensorWrapper.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/TensorWrapper.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [280/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/VmapInterpreter.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/VmapInterpreter.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/VmapInterpreter.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [281/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/VmapModeRegistrations.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/VmapModeRegistrations.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [282/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/record_function.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [283/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenGeneral.cpp.o [284/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/BackendSelectFallbackKernel.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/BackendSelectFallbackKernel.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [285/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/DeprecatedTypeProperties.cpp.o [286/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/DeprecatedTypePropertiesRegistry.cpp.o [287/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Dict.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Dict_inl.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Dict.h:397, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Dict.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [288/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Dimname.cpp.o [289/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Formatting.cpp.o [290/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Generator.cpp.o [291/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/GeneratorForPrivateuseone.cpp.o [292/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/List.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [293/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/MetaFallbackKernel.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/MetaFallbackKernel.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [294/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/NamedRegistrations.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/NamedRegistrations.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [295/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/NamedTensor.cpp.o [296/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/NestedIntSymNodeImpl.cpp.o [297/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/PythonFallbackKernel.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/TorchDispatchUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/PythonFallbackKernel.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/PythonFallbackKernel.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [298/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/PythonOpRegistrationTrampoline.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/PythonOpRegistrationTrampoline.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/PythonOpRegistrationTrampoline.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [299/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Range.cpp.o [300/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Tensor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Tensor.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [301/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/TorchDispatchUtils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/TorchDispatchUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/TorchDispatchUtils.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [302/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/VariableFallbackKernel.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/VariableFallbackKernel.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [303/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/VariableHooksInterface.cpp.o [304/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Vitals.cpp.o [305/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/adaption.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/adaption.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/adaption.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [306/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/blob.cpp.o [307/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/boxing/KernelFunction.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [308/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/class_type.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/class_type.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [309/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/custom_class.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/custom_class.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/custom_class.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [310/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/DispatchKeyExtractor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [311/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/Dispatcher.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [312/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/ObservedOperators.cpp.o [313/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/OperatorEntry.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [314/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dynamic_type.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dynamic_type.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [315/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/function_schema.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [316/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/interned_strings.cpp.o [317/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ivalue.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Dict_inl.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Dict.h:397, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [318/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/library.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/library.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [319/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [320/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/op_registration.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [321/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/operator_name.cpp.o [322/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/register_symbols.cpp.o [323/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/tensor_type.cpp.o [324/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/type.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Dict_inl.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Dict.h:397, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/type.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [325/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/type_factory.cpp.o [326/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/union_type.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Dict_inl.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Dict.h:397, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/union_type.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [327/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/error_report.cpp.o [328/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/function_schema_parser.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/function_schema_parser.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/function_schema_parser.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [329/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/lexer.cpp.o [330/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/schema_type_parser.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/schema_type_parser.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [331/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/strtod.cpp.o [332/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/source_range.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/source_range_serialization.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/source_range.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [333/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Activation.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Activation.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [334/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveAveragePooling.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_adaptive_avg_pool2d.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/AdaptiveAveragePooling.cpp:11: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [335/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveAveragePooling3d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_adaptive_avg_pool3d.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/AdaptiveAveragePooling3d.cpp:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [336/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveMaxPooling2d.cpp.o [337/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveMaxPooling3d.cpp.o [338/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AffineGridGenerator.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/AffineGridGenerator.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [339/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AmpKernels.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_amp_foreach_non_finite_check_and_unscale.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/AmpKernels.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [340/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AutogradComposite.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/alias.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/AutogradComposite.cpp:15: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [341/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AveragePool2d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/AveragePool2d.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [342/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AveragePool3d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/AveragePool3d.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [343/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BatchLinearAlgebra.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/BatchLinearAlgebra.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [344/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BatchLinearAlgebraKernel.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/LinearAlgebraUtils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/BatchLinearAlgebraKernel.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [345/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BinaryOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/BinaryOps.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [346/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Blas.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Blas.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [347/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BlasKernel.cpp.o [348/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Bucketization.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TypeProperties.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/BucketizationUtils.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Bucketization.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [349/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/CPUBlas.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/LinearAlgebraUtils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/Matmul.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/CPUBlas.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [350/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/CPUFallback.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/CPUFallback.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/CPUFallback.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/CPUFallback.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [351/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ChanelShuffle.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ChanelShuffle.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [352/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Col2Im.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Col2Im.cpp:15: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [353/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ComparisonUtils.cpp.o [354/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Constraints.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Constraints.cpp:17: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [355/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Convolution.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Convolution.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [356/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionMM2d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_slow_conv2d_forward.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ConvolutionMM2d.cpp:17: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [357/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionMM3d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ConvolutionMM3d.cpp:17: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [358/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionTBC.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ConvolutionTBC.cpp:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [359/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Copy.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Copy.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Copy.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [360/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Correlation.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Correlation.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [361/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Cross.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Cross.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [362/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DilatedMaxPool2d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/DilatedMaxPool2d.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [363/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DilatedMaxPool3d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/DilatedMaxPool3d.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [364/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DispatchStub.cpp.o [365/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Distance.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Distance.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [366/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Distributions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Distributions.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [367/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Dropout.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Dropout.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [368/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Embedding.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Embedding.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [369/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/EmbeddingBag.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/EmbeddingBag.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [370/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Fill.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Fill.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [371/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ForeachOpsKernels.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/copy.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ForeachOpsKernels.cpp:56: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [372/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FractionalMaxPool2d.cpp.o [373/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FractionalMaxPool3d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/FractionalMaxPool3d.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [374/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FunctionOfAMatrixUtils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/zeros.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/FunctionOfAMatrixUtils.cpp:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [375/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/GatedLinearUnit.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/GatedLinearUnit.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [376/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/GridSampler.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_empty_affine_quantized.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/GridSampler.cpp:17: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [377/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Histogram.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorFactories.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Histogram.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [378/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Im2Col.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Im2Col.cpp:15: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [379/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/IndexingUtils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/IndexingUtils.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/IndexingUtils.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [380/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Integration.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Integration.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [381/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Itertools.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Itertools.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [382/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LegacyBatching.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/LegacyBatching.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [383/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LegacyBridge.cpp.o [384/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Lerp.cpp.o [385/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Linear.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorFactories.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Linear.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [386/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LinearAlgebra.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/LinearAlgebra.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [387/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Loss.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Loss.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [388/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossCTC.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/LossCTC.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [389/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossMultiLabelMargin.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/LossMultiLabelMargin.cpp:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [390/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossMultiMargin.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/LossMultiMargin.cpp:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [391/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossNLL.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorIndexing.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/LossNLL.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [392/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossNLL2d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorFactories.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/LossNLL2d.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [393/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MaxPooling.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/MaxPooling.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [394/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MaxUnpooling.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/MaxUnpooling.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [395/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Memory.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_pin_memory.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Memory.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [396/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MetaTensor.cpp.o [397/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NNPACK.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/NNPACK.cpp:15: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [398/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveConvolutionTranspose2d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/NaiveConvolutionTranspose2d.cpp:15: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [399/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveConvolutionTranspose3d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/NaiveConvolutionTranspose3d.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [400/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveDilatedConvolution.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/NaiveDilatedConvolution.cpp:18: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [401/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NamedTensor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/NamedTensor.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [402/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NegateFallback.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/MathBitsFallback.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/NegateFallback.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [403/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Normalization.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Normalization.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [404/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Onehot.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/arange.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Onehot.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [405/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PackedSequence.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/cat.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/PackedSequence.cpp:11: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [406/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PadNd.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_empty_affine_quantized.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/PadNd.cpp:11: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [407/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PixelShuffle.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/roll.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorTransformations.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/PixelShuffle.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [408/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PointwiseOps.cpp.o [409/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Pooling.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Pooling.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [410/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Pow.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Pow.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [411/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/QuantizedLinear.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtilsMulti.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/QuantizedLinear.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [412/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RNN.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/RNN.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/RNN.cpp:15: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [413/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RangeFactories.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/linspace.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/RangeFactories.cpp:15: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [414/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReduceAllOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorFactories.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ReduceAllOps.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [415/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReduceOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ReduceOps.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [416/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReflectionPad.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_empty_affine_quantized.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ReflectionPad.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [417/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Repeat.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Repeat.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Repeat.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [418/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReplicationPadding.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/zeros_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ReplicationPadding.cpp:20: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [419/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Resize.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorFactories.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Resize.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [420/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RowwisePrune.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/RowwisePrune.cpp:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [421/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Scalar.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_local_scalar_dense.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Scalar.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [422/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SegmentReduce.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/SegmentReduce.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [423/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SobolEngineOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/arange.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/SobolEngineOpsUtils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/SobolEngineOps.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [424/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SobolEngineOpsUtils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/arange.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/SobolEngineOpsUtils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/SobolEngineOpsUtils.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [425/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SoftMax.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/SoftMax.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [426/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Sorting.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Sorting.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [427/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SparseTensorUtils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/SparseTensorImpl.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/SparseTensorUtils.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/SparseTensorUtils.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [428/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SpectralOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorSubclassLikeUtils.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/SpectralOps.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [429/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SummaryOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/zeros.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/SummaryOps.cpp:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [430/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorAdvancedIndexing.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorAdvancedIndexing.cpp:51: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [431/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorCompare.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorCompare.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [432/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorConversions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorConversions.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [433/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorFactories.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorFactories.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorFactories.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [434/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorIteratorReduce.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorIteratorReduce.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [435/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorProperties.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorProperties.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [436/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorShape.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorShape.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [437/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorTransformations.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/roll.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorTransformations.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorTransformations.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [438/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TestOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TestOps.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [439/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TriangularOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/LinearAlgebraUtils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TriangularOpsUtils.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TriangularOps.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [440/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TypeProperties.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TypeProperties.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TypeProperties.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [441/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UnaryOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/UnaryOps.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [442/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unfold2d.cpp.o [443/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unfold3d.cpp.o [444/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UnfoldBackward.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/arange.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/UnfoldBackward.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/UnfoldBackward.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [445/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unique.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Unique.cpp:17: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [446/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSample.cpp.o [447/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleBicubic2d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_upsample_bicubic2d_aa.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/UpSampleBicubic2d.cpp:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [448/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleBilinear2d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_upsample_bilinear2d_aa.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/UpSampleBilinear2d.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [449/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleLinear1d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/upsample_linear1d.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/UpSampleLinear1d.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [450/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest1d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_upsample_nearest_exact1d.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/UpSampleNearest1d.cpp:11: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [451/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest2d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_upsample_nearest_exact2d.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/UpSampleNearest2d.cpp:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [452/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest3d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_upsample_nearest_exact3d.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/UpSampleNearest3d.cpp:11: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [453/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleTrilinear3d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/upsample_trilinear3d.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/UpSampleTrilinear3d.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [454/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/VariableMethodStubs.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/alias.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/VariableMethodStubs.cpp:11: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [455/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/WeightNorm.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/WeightNorm.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [456/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/group_norm.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/group_norm.cpp:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [457/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/layer_norm.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/layer_norm.cpp:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [458/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/prim_native_functions.cpp.o [459/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/verbose_wrapper.cpp.o [460/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/library.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ao_sparse/library.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [461/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ao_sparse/quantized/cpu/fbgemm_utils.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [462/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [463/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_deserialize.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [464/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_dynamic.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [465/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_prepack.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [466/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_serialize.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [467/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_unpack.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [468/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/FlattenIndicesKernel.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/FlattenIndicesCommon.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/FlattenIndicesKernel.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [469/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/ParamUtils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/ParamUtils.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [470/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SoftMax.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/SoftMax.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [471/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBinaryOpIntersectionKernel.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/SparseBinaryOpIntersectionCommon.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/SparseBinaryOpIntersectionKernel.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [472/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBlas.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/SparseBlas.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [473/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBlasImpl.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/SparseTensorImpl.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/SparseCsrTensorUtils.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/SparseBlasImpl.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/SparseBlasImpl.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [474/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseCsrTensor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/SparseTensorImpl.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/SparseCsrTensorUtils.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/SparseCsrTensor.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [475/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseCsrTensorMath.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/SparseCsrTensorMath.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [476/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseFactories.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_unique.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/SparseFactories.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [477/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseMatMul.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/SparseMatMul.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [478/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseTensor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/SparseTensorImpl.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/SparseTensor.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [479/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseTensorMath.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorIndexing.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/SparseTensorMath.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [480/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseUnaryOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/SparseTensorImpl.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/SparseTensorUtils.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/SparseUnaryOps.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [481/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/ValidateCompressedIndicesKernel.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/SparseTensorImpl.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/SparseTensorUtils.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/ValidateCompressedIndicesCommon.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/sparse/ValidateCompressedIndicesKernel.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [482/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorAliases.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/nested/NestedTensorAliases.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [483/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorBackward.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/nested/NestedTensorBackward.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [484/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorBinaryOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/nested/NestedTensorBinaryOps.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [485/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorFactories.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/nested/NestedTensorFactories.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [486/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorMath.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/nested/NestedTensorMath.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [487/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorMatmul.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/nested/NestedTensorMatmul.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [488/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorTransformerFunctions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/nested/NestedTensorTransformerFunctions.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [489/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorUnaryOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/nested/NestedTensorUnaryOps.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [490/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorUtils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/cat.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/nested/NestedTensorUtils.h:17, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/nested/NestedTensorUtils.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [491/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/AffineQuantizer.cpp.o [492/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/AffineQuantizerBase.cpp.o [493/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/Copy.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/Copy.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [494/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/FakeQuantPerChannelAffine.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/FakeQuantPerChannelAffine.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [495/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/FakeQuantPerTensorAffine.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/FakeQuantPerTensorAffine.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [496/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/QTensor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/QTensor.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [497/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorAdvancedIndexing.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/TensorAdvancedIndexing.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [498/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorCompare.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/TensorCompare.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [499/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorFactories.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/TensorFactories.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [500/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AdaptiveAveragePooling.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/AdaptiveAveragePooling.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [501/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AveragePool2d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/AveragePool2d.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [502/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AveragePool3d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/AveragePool3d.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [503/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/BinaryOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/BinaryOps.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/BinaryOps.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [504/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/ChannelShuffle.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/ChannelShuffle.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [505/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/IntReprQuant.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/IntReprQuant.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [506/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/LinearUnpackImpl.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/cpp_custom_type_hack.h:57, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/LinearUnpackImpl.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/LinearUnpackImpl.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [507/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/MakePerTensorQuantizedTensor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_empty_affine_quantized.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/MakePerTensorQuantizedTensor.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [508/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Normalization.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/Normalization.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [509/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Pooling.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/Pooling.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [510/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/ReduceOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/ReduceOps.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [511/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/RuyUtils.cpp.o [512/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Sorting.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/Sorting.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [513/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/TensorOperators.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/TensorOperators.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [514/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/TensorShape.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/TensorShape.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/TensorShape.cpp:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [515/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleBilinear2d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/UpSampleBilinear2d.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [516/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleNearest2d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_empty_affine_quantized.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/UpSampleNearest2d.cpp:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [517/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleNearest3d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_empty_affine_quantized.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/UpSampleNearest3d.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [518/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/XnnpackUtils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/XnnpackUtils.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [519/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:21: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/conv_serialization.h: In instantiation of ‘c10::intrusive_ptr > deserialize_conv(ConvParamsSerializationTypeV3) [with unsigned int kSpatialDim = 2; ConvParamsSerializationTypeV3 = std::tuple >, std::vector, std::allocator > > >]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:410:47: required from ‘int register_conv_params() [with int kSpatialDim = 2]’ 410 | return deserialize_conv(state); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:429:39: required from here 429 | TORCH_API int register_conv_params<2>(); | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/conv_serialization.h: In instantiation of ‘c10::intrusive_ptr > deserialize_conv(ConvParamsSerializationTypeV3) [with unsigned int kSpatialDim = 3; ConvParamsSerializationTypeV3 = std::tuple >, std::vector, std::allocator > > >]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:410:47: required from ‘int register_conv_params() [with int kSpatialDim = 3]’ 410 | return deserialize_conv(state); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:431:39: required from here 431 | TORCH_API int register_conv_params<3>(); | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/conv_serialization.h:326:8: warning: unused variable ‘transpose’ [-Wunused-variable] 326 | bool transpose = flags & (1 << 0); | ^~~~~~~~~ [520/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/_fake_quantize_per_tensor_affine_cachemask_tensor_qparams.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/fused_obs_fake_quant.cpp:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [521/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/init_qnnpack.cpp.o [522/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qclamp.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qclamp.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [523/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qconv.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qconv.cpp:20: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [524/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qconv_dynamic.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qconv_dynamic.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [525/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qconv_prepack.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qconv_prepack.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [526/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qconv_unpack_impl.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qconv_unpack_impl.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [527/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qdropout.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qdropout.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qdropout.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [528/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qelu.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qelu.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qelu.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [529/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qembeddingbag.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/EmbeddingPackedParams.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qembeddingbag.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qembeddingbag.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [530/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/EmbeddingPackedParams.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qembeddingbag_prepack.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qembeddingbag_prepack.cpp:11: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [531/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/EmbeddingPackedParams.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qembeddingbag_unpack.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qembeddingbag_unpack.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [532/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qgelu.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qgelu.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [533/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qhardsigmoid.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qhardsigmoid.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [534/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qhardswish.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qhardswish.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [535/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qlinear.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qlinear.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [536/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/PackedParams.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qlinear_dynamic.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qlinear_dynamic.cpp:11: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [537/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/PackedParams.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qlinear_prepack.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qlinear_prepack.cpp:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [538/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qmatmul.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qmatmul.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qmatmul.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [539/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qmul.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qmul.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qmul.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [540/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qnormalization.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qnormalization.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qnormalization.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [541/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qrelu.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qrelu.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qrelu.cpp:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [542/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qsigmoid.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qsigmoid.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [543/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qsoftmax.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qsoftmax.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qsoftmax.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [544/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qtanh.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qtanh.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [545/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qthreshold.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/qthreshold.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [546/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/library.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/library.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [547/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/qconv_unpack.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/qconv_unpack.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/qconv_unpack.cpp:16: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [548/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/qlinear_unpack.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/qlinear_unpack.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/qlinear_unpack.cpp:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [549/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/LinearAlgebra.cpp.o [550/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SparseBlasImpl.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/LinearAlgebraUtils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkl/SparseBlasImpl.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [551/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SparseCsrLinearAlgebra.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/SparseTensorImpl.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/SparseCsrTensorUtils.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkl/SparseCsrLinearAlgebra.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkl/SparseCsrLinearAlgebra.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [552/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SpectralOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorFactories.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkl/SpectralOps.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [553/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/BinaryOps.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/BinaryOps.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [554/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Conv.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/Conv.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [555/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/ConvPrepack.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/Common.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/ConvPrepack.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [556/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Copy.cpp.o [557/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Gelu.cpp.o [558/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/IDeepRegistration.cpp.o [559/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Linear.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/Linear.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [560/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MKLDNNCommon.cpp.o [561/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MKLDNNConversions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/Utils.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/MKLDNNConversions.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/MKLDNNConversions.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [562/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Matmul.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/LinearAlgebraUtils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/Matmul.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/Matmul.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [563/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MkldnnTensorMath.cpp.o [564/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Normalization.cpp.o [565/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/OpContext.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/OpContext.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/OpContext.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [566/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Pooling.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorFactories.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/Pooling.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [567/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Prelu.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/Prelu.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [568/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/RNN.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/RNN.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/RNN.cpp:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [569/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/RegisterMkldnnOpContextClass.cpp.o [570/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Relu.cpp.o [571/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/SoftMax.cpp.o [572/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/TensorFactories.cpp.o [573/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/TensorShape.cpp.o [574/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/UnaryOps.cpp.o [575/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Utils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/Utils.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/mkldnn/Utils.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [576/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/transformers/attention.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/transformers/attention.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [577/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorSubclassLikeUtils.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/transformers/sdp_utils_cpp.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/transformers/sdp_utils_cpp.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [578/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/transformers/transformer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/transformers/transformer.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [579/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/utils/Factory.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/utils/Factory.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [580/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Activation.cpp.o [581/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/AveragePooling.cpp.o [582/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/ChannelShuffle.cpp.o [583/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Convolution.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/xnnpack/OpContext.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/xnnpack/Convolution.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/xnnpack/Convolution.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [584/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Init.cpp.o [585/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Linear.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/xnnpack/OpContext.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/xnnpack/Linear.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/xnnpack/Linear.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [586/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/MaxPooling.cpp.o [587/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/OpContext.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/xnnpack/OpContext.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/xnnpack/Convolution.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/xnnpack/OpContext.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [588/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/RegisterOpContextClass.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/xnnpack/RegisterOpContextClass.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [589/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Shim.cpp.o [590/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CompositeViewCopyKernels.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorFactories.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/CompositeViewCopyKernels.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [591/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Functions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/Functions.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [592/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_0.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/Operators_0.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [593/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_1.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/Operators_1.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [594/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_2.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/Operators_2.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [595/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_3.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/Operators_3.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [596/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_4.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/Operators_4.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [597/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterBackendSelect.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterBackendSelect.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [598/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCPU.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterCPU.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterCPU.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [599/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeExplicitAutograd.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterCompositeExplicitAutograd.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterCompositeExplicitAutograd.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [600/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeExplicitAutogradNonFunctional.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterCompositeExplicitAutogradNonFunctional.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterCompositeExplicitAutogradNonFunctional.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [601/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeImplicitAutograd.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterCompositeImplicitAutograd.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterCompositeImplicitAutograd.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [602/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeImplicitAutogradNestedTensor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterCompositeImplicitAutogradNestedTensor.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterCompositeImplicitAutogradNestedTensor.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [603/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_0.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterFunctionalization_0.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [604/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_1.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterFunctionalization_1.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [605/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_2.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterFunctionalization_2.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [606/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_3.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterFunctionalization_3.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [607/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterMeta.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterMeta.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterMeta.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [608/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterMkldnnCPU.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterMkldnnCPU.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterMkldnnCPU.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [609/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterNestedTensorCPU.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterNestedTensorCPU.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterNestedTensorCPU.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [610/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterNestedTensorMeta.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterNestedTensorMeta.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterNestedTensorMeta.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [611/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterQuantizedCPU.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterQuantizedCPU.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterQuantizedCPU.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [612/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterQuantizedMeta.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterQuantizedMeta.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterQuantizedMeta.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [613/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSchema.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterSchema.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [614/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseCPU.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterSparseCPU.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterSparseCPU.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [615/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseCsrCPU.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterSparseCsrCPU.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterSparseCsrCPU.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [616/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseCsrMeta.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterSparseCsrMeta.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterSparseCsrMeta.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [617/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseMeta.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterSparseMeta.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterSparseMeta.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [618/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterZeroTensor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterZeroTensor.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RegisterZeroTensor.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [619/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPU_add.cpp.o [620/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenOpList.cpp.o [621/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/TensorMethods.cpp.o [622/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/quantized/QTensorImpl.cpp.o [623/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/quantized/Quantizer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/quantized/Quantizer.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [624/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_bind.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/nnapi/nnapi_bind.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/nnapi/nnapi_bind.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/nnapi/nnapi_bind.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [625/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_model_loader.cpp.o [626/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_register.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/nnapi/nnapi_bind.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/nnapi/nnapi_register.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/nnapi/nnapi_bind.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [627/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_wrapper.cpp.o [628/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPUKernel_add.cpp.DEFAULT.cpp.o [629/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [630/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.DEFAULT.cpp.o [631/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.DEFAULT.cpp.o [632/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.DEFAULT.cpp.o [633/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/layer_norm_kernel.cpp:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [634/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/int8mm_kernel.cpp.DEFAULT.cpp.o [635/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/int4mm_kernel.cpp.DEFAULT.cpp.o [636/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/group_norm_kernel.cpp:21, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/group_norm_kernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [637/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/batch_norm_kernel.cpp:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [638/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/airy_ai.cpp.DEFAULT.cpp.o [639/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/WeightNormKernel.cpp.DEFAULT.cpp.o [640/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.DEFAULT.cpp.o [641/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/UpSampleKernel.cpp:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/UpSampleKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [642/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/arange.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/UnfoldBackward.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [643/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Unfold2d.cpp.DEFAULT.cpp.o [644/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.DEFAULT.cpp.o [645/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/TensorCompareKernel.cpp:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [646/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SumKernel.cpp.DEFAULT.cpp.o [647/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/StackKernel.cpp.DEFAULT.cpp.o [648/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [649/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SparseFactories.cpp.DEFAULT.cpp.o [650/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SortingKernel.cpp.DEFAULT.cpp.o [651/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.DEFAULT.cpp.o [652/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorAdvancedIndexing.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [653/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [654/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RenormKernel.cpp.DEFAULT.cpp.o [655/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorFactories.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [656/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorFactories.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/ReduceOpsUtils.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [657/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.DEFAULT.cpp.o [658/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PowKernel.cpp.DEFAULT.cpp.o [659/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.DEFAULT.cpp.o [660/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.DEFAULT.cpp.o [661/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PaddingKernel.cpp.DEFAULT.cpp.o [662/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/NativeMultiheadAttnKernel.cpp.DEFAULT.cpp.o [663/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/MultinomialKernel.cpp:15, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/MultinomialKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [664/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.DEFAULT.cpp.o [665/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPooling.cpp.DEFAULT.cpp.o [666/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.DEFAULT.cpp.o [667/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.DEFAULT.cpp.o [668/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LerpKernel.cpp.DEFAULT.cpp.o [669/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/IndexKernel.cpp.DEFAULT.cpp.o [670/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/aminmax.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/HistogramKernel.cpp:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/HistogramKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [671/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.DEFAULT.cpp.o [672/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.DEFAULT.cpp.o [673/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorSubclassLikeUtils.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/transformers/sdp_utils_cpp.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/FlashAttentionKernel.cpp:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/FlashAttentionKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [674/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FillKernel.cpp.DEFAULT.cpp.o [675/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/DistributionKernels.cpp:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/DistributionKernels.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [676/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.DEFAULT.cpp.o [677/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [678/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CrossKernel.cpp.DEFAULT.cpp.o [679/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CopyKernel.cpp.DEFAULT.cpp.o [680/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/TensorFactories.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/ComplexKernel.cpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/ComplexKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [681/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.DEFAULT.cpp.o [682/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/CatKernel.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/CatKernel.cpp:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/CatKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [683/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BlasKernel.cpp.DEFAULT.cpp.o [684/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.DEFAULT.cpp.o [685/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.DEFAULT.cpp.o [686/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/cpu/AmpGradScalerKernels.cpp:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/native/cpu/AmpGradScalerKernels.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [687/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.DEFAULT.cpp.o [688/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.DEFAULT.cpp.o [689/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.DEFAULT.cpp.o [690/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/vulkan/Context.cpp.o [691/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/metal/Context.cpp.o [692/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/allocator.cc.o [693/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/blob_serialization.cc.o [694/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/blob_stats.cc.o [695/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/common.cc.o [696/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/context.cc.o [697/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/context_base.cc.o [698/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/db.cc.o [699/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/event.cc.o [700/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/export_c10_op_to_caffe2.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_c10_op_to_caffe2.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_c10_op_to_caffe2.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_c10_op_to_caffe2.h:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [701/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/graph.cc.o [702/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/init.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/init.cc:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [703/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/init_denormals.cc.o [704/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/init_intrinsics_check.cc.o [705/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/init_omp.cc.o [706/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/int8_serialization.cc.o [707/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/memonger.cc.o [708/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/module.cc.o [709/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [710/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_async_base.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_async_tracing.h:22, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_async_base.cc:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [711/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_async_scheduling.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_async_tracing.h:22, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_async_scheduling.cc:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [712/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_async_task.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_async_task.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_async_task.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [713/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_async_task_future.cc.o [714/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_async_task_graph.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_async_task.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_async_task_graph.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_async_task_graph.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [715/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_async_tracing.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_async_tracing.h:22, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_async_tracing.cc:17: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [716/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_dag_utils.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_dag_utils.cc:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [717/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_parallel.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_async_task.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_async_task_graph.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_parallel.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_parallel.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [718/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_simple.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_simple.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [719/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/net_simple_refcount.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/net_simple_refcount.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [720/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/numa.cc.o [721/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/operator.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_c10_op_to_caffe2.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.cc:22: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [722/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/operator_schema.cc.o [723/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/plan_executor.cc.o [724/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/prof_dag_counters.cc.o [725/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/qtensor.cc.o [726/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/qtensor_serialization.cc.o [727/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/stats.cc.o [728/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/tensor.cc.o [729/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/tensor_int8.cc.o [730/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/test_utils.cc.o [731/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/transform.cc.o [732/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/types.cc.o [733/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/workspace.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/workspace.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [734/2497] Building C object caffe2/CMakeFiles/torch_cpu.dir/__/third_party/miniz-2.1.0/miniz.c.o /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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.") | ^~~~~~~ [735/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/serialize/inline_container.cc.o [736/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/serialize/istream_adapter.cc.o [737/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/serialize/file_adapter.cc.o [738/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/serialize/crc.cc.o [739/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/serialize/read_adapter_interface.cc.o [740/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/bench_utils.cc.o [741/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/cpuid.cc.o [742/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/math/broadcast.cc.o [743/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/math/elementwise.cc.o [744/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/math/reduce.cc.o [745/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/math/transpose.cc.o [746/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/math/utils.cc.o [747/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/math_cpu.cc.o [748/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/murmur_hash3.cc.o [749/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/proto_utils.cc.o [750/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/proto_wrap.cc.o [751/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/threadpool/ThreadPool.cc.o [752/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/signal_handler.cc.o [753/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/smart_tensor_printer.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/utils/smart_tensor_printer.cc:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [754/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/string_utils.cc.o [755/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/threadpool/pthreadpool-cpp.cc.o [756/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/threadpool/thread_pool_guard.cpp.o [757/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/adagrad.cc.o [758/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/batch_box_cox.cc.o [759/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/embedding_lookup.cc.o [760/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/embedding_lookup_idx.cc.o [761/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/fused_8bit_rowwise_embedding_lookup.cc.o [762/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/fused_8bit_rowwise_embedding_lookup_idx.cc.o [763/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/fused_nbit_rowwise_conversion.cc.o [764/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/lstm_unit_cpu_common.cc.o [765/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/math_cpu_base.cc.o [766/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/typed_axpy.cc.o [767/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/contrib/aten/aten_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/caffe2/contrib/aten/aten_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/contrib/aten/aten_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [768/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/predictor/predictor.cc.o [769/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/predictor/predictor_utils.cc.o [770/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/predictor/predictor_config.cc.o [771/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/predictor/emulator/data_filler.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/predictor/emulator/data_filler.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/predictor/emulator/data_filler.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [772/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/nomnigraph/Representations/NeuralNet.cc.o [773/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/nomnigraph/tests/test_util.cc.o [774/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/db/create_db_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/db/create_db_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/db/create_db_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [775/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/db/protodb.cc.o [776/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/distributed/file_store_handler.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/distributed/file_store_handler_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/distributed/file_store_handler.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [777/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/distributed/file_store_handler_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/distributed/file_store_handler_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/distributed/file_store_handler_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [778/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/distributed/store_handler.cc.o [779/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/distributed/store_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/distributed/store_ops.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/distributed/store_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [780/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/image/image_input_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/prefetch_op.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:15, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h: In instantiation of ‘caffe2::ImageInputOp::ImageInputOp(const caffe2::OperatorDef&, caffe2::Workspace*) [with Context = caffe2::CPUContext]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/c10/util/Registry.h:188:26: required from ‘static ObjectPtrType c10::Registerer::DefaultCreator(Args ...) [with DerivedType = caffe2::ImageInputOp; SrcType = std::__cxx11::basic_string; ObjectPtrType = std::unique_ptr; Args = {const caffe2::OperatorDef&, caffe2::Workspace*}]’ 188 | return ObjectPtrType(new DerivedType(args...)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.cc:17:1: required from here 261 | ::c10::demangle_type<__VA_ARGS__>()); | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h: In instantiation of ‘bool caffe2::ImageInputOp::GetImageAndLabelAndInfoFromDBValue(const std::string&, cv::Mat*, PerImageArg&, int, std::mt19937*) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string; std::mt19937 = std::mersenne_twister_engine]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1135:3: required from ‘void caffe2::ImageInputOp::DecodeAndTransposeOnly(const std::string&, uint8_t*, int, int, std::size_t) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string; uint8_t = unsigned char; std::size_t = long unsigned int]’ 1136 | GetImageAndLabelAndInfoFromDBValue(value, &img, info, item_id, randgen)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1227:11: required from ‘bool caffe2::ImageInputOp::Prefetch() [with Context = caffe2::CPUContext]’ 1227 | &ImageInputOp::DecodeAndTransposeOnly, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1151:6: required from here 1151 | bool ImageInputOp::Prefetch() { | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:742:39: required from ‘bool caffe2::ImageInputOp::GetImageAndLabelAndInfoFromDBValue(const std::string&, cv::Mat*, PerImageArg&, int, std::mt19937*) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string; std::mt19937 = std::mersenne_twister_engine]’ 742 | RandomSizedCropping(img, crop_, randgen); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1135:3: required from ‘void caffe2::ImageInputOp::DecodeAndTransposeOnly(const std::string&, uint8_t*, int, int, std::size_t) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string; uint8_t = unsigned char; std::size_t = long unsigned int]’ 1136 | GetImageAndLabelAndInfoFromDBValue(value, &img, info, item_id, randgen)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1227:11: required from ‘bool caffe2::ImageInputOp::Prefetch() [with Context = caffe2::CPUContext]’ 1227 | &ImageInputOp::DecodeAndTransposeOnly, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1151:6: required from here 1151 | bool ImageInputOp::Prefetch() { | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h: In instantiation of ‘void caffe2::ColorLighting(float*, int, float, const std::vector >&, const std::vector&, std::mt19937*) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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 >&, const std::vector&, int, bool, const std::vector&, const std::vector&, std::mt19937*, std::bernoulli_distribution*, bool) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine]’ 1013 | ColorLighting( | ~~~~~~~~~~~~~~~~~~~~~~^ 1014 | image_data, | ~~~~~~~~~~~ 1015 | crop, | ~~~~~ 1016 | color_lighting_std, | ~~~~~~~~~~~~~~~~~~~ 1017 | color_lighting_eigvecs, | ~~~~~~~~~~~~~~~~~~~~~~~ 1018 | color_lighting_eigvals, | ~~~~~~~~~~~~~~~~~~~~~~~ 1019 | randgen); | ~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1099:26: required from ‘void caffe2::ImageInputOp::DecodeAndTransform(const std::string&, float*, int, int, std::size_t) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string; std::size_t = long unsigned int]’ 1099 | TransformImage( | ~~~~~~~~~~~~~~~~~~~~~~~^ 1100 | img, | ~~~~ 1101 | channels, | ~~~~~~~~~ 1102 | image_data, | ~~~~~~~~~~~ 1103 | color_jitter_, | ~~~~~~~~~~~~~~ 1104 | img_saturation_, | ~~~~~~~~~~~~~~~~ 1105 | img_brightness_, | ~~~~~~~~~~~~~~~~ 1106 | img_contrast_, | ~~~~~~~~~~~~~~ 1107 | color_lighting_, | ~~~~~~~~~~~~~~~~ 1108 | color_lighting_std_, | ~~~~~~~~~~~~~~~~~~~~ 1109 | color_lighting_eigvecs_, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1110 | color_lighting_eigvals_, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1111 | crop_, | ~~~~~~ 1112 | mirror_, | ~~~~~~~~ 1113 | mean_, | ~~~~~~ 1114 | std_, | ~~~~~ 1115 | randgen, | ~~~~~~~~ 1116 | &mirror_this_image, | ~~~~~~~~~~~~~~~~~~~ 1117 | is_test_); | ~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1238:11: required from ‘bool caffe2::ImageInputOp::Prefetch() [with Context = caffe2::CPUContext]’ 1238 | &ImageInputOp::DecodeAndTransform, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1151:6: required from here 1151 | bool ImageInputOp::Prefetch() { | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h: In instantiation of ‘void caffe2::ColorNormalization(float*, int, int, const std::vector&, const std::vector&) [with Context = CPUContext]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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 >&, const std::vector&, int, bool, const std::vector&, const std::vector&, std::mt19937*, std::bernoulli_distribution*, bool) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine]’ 1024 | ColorNormalization(image_data, crop, channels, mean, std); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1099:26: required from ‘void caffe2::ImageInputOp::DecodeAndTransform(const std::string&, float*, int, int, std::size_t) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string; std::size_t = long unsigned int]’ 1099 | TransformImage( | ~~~~~~~~~~~~~~~~~~~~~~~^ 1100 | img, | ~~~~ 1101 | channels, | ~~~~~~~~~ 1102 | image_data, | ~~~~~~~~~~~ 1103 | color_jitter_, | ~~~~~~~~~~~~~~ 1104 | img_saturation_, | ~~~~~~~~~~~~~~~~ 1105 | img_brightness_, | ~~~~~~~~~~~~~~~~ 1106 | img_contrast_, | ~~~~~~~~~~~~~~ 1107 | color_lighting_, | ~~~~~~~~~~~~~~~~ 1108 | color_lighting_std_, | ~~~~~~~~~~~~~~~~~~~~ 1109 | color_lighting_eigvecs_, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1110 | color_lighting_eigvals_, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1111 | crop_, | ~~~~~~ 1112 | mirror_, | ~~~~~~~~ 1113 | mean_, | ~~~~~~ 1114 | std_, | ~~~~~ 1115 | randgen, | ~~~~~~~~ 1116 | &mirror_this_image, | ~~~~~~~~~~~~~~~~~~~ 1117 | is_test_); | ~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1238:11: required from ‘bool caffe2::ImageInputOp::Prefetch() [with Context = caffe2::CPUContext]’ 1238 | &ImageInputOp::DecodeAndTransform, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1151:6: required from here 1151 | bool ImageInputOp::Prefetch() { | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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]’ 886 | Saturation(img, img_size, saturation, randgen); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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 >&, const std::vector&, int, bool, const std::vector&, const std::vector&, std::mt19937*, std::bernoulli_distribution*, bool) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine]’ 1009 | ColorJitter( | ~~~~~~~~~~~~~~~~~~~~^ 1010 | image_data, crop, saturation, brightness, contrast, randgen); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1099:26: required from ‘void caffe2::ImageInputOp::DecodeAndTransform(const std::string&, float*, int, int, std::size_t) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string; std::size_t = long unsigned int]’ 1099 | TransformImage( | ~~~~~~~~~~~~~~~~~~~~~~~^ 1100 | img, | ~~~~ 1101 | channels, | ~~~~~~~~~ 1102 | image_data, | ~~~~~~~~~~~ 1103 | color_jitter_, | ~~~~~~~~~~~~~~ 1104 | img_saturation_, | ~~~~~~~~~~~~~~~~ 1105 | img_brightness_, | ~~~~~~~~~~~~~~~~ 1106 | img_contrast_, | ~~~~~~~~~~~~~~ 1107 | color_lighting_, | ~~~~~~~~~~~~~~~~ 1108 | color_lighting_std_, | ~~~~~~~~~~~~~~~~~~~~ 1109 | color_lighting_eigvecs_, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1110 | color_lighting_eigvals_, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1111 | crop_, | ~~~~~~ 1112 | mirror_, | ~~~~~~~~ 1113 | mean_, | ~~~~~~ 1114 | std_, | ~~~~~ 1115 | randgen, | ~~~~~~~~ 1116 | &mirror_this_image, | ~~~~~~~~~~~~~~~~~~~ 1117 | is_test_); | ~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1238:11: required from ‘bool caffe2::ImageInputOp::Prefetch() [with Context = caffe2::CPUContext]’ 1238 | &ImageInputOp::DecodeAndTransform, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1151:6: required from here 1151 | bool ImageInputOp::Prefetch() { | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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]’ 888 | Brightness(img, img_size, brightness, randgen); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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 >&, const std::vector&, int, bool, const std::vector&, const std::vector&, std::mt19937*, std::bernoulli_distribution*, bool) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine]’ 1009 | ColorJitter( | ~~~~~~~~~~~~~~~~~~~~^ 1010 | image_data, crop, saturation, brightness, contrast, randgen); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1099:26: required from ‘void caffe2::ImageInputOp::DecodeAndTransform(const std::string&, float*, int, int, std::size_t) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string; std::size_t = long unsigned int]’ 1099 | TransformImage( | ~~~~~~~~~~~~~~~~~~~~~~~^ 1100 | img, | ~~~~ 1101 | channels, | ~~~~~~~~~ 1102 | image_data, | ~~~~~~~~~~~ 1103 | color_jitter_, | ~~~~~~~~~~~~~~ 1104 | img_saturation_, | ~~~~~~~~~~~~~~~~ 1105 | img_brightness_, | ~~~~~~~~~~~~~~~~ 1106 | img_contrast_, | ~~~~~~~~~~~~~~ 1107 | color_lighting_, | ~~~~~~~~~~~~~~~~ 1108 | color_lighting_std_, | ~~~~~~~~~~~~~~~~~~~~ 1109 | color_lighting_eigvecs_, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1110 | color_lighting_eigvals_, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1111 | crop_, | ~~~~~~ 1112 | mirror_, | ~~~~~~~~ 1113 | mean_, | ~~~~~~ 1114 | std_, | ~~~~~ 1115 | randgen, | ~~~~~~~~ 1116 | &mirror_this_image, | ~~~~~~~~~~~~~~~~~~~ 1117 | is_test_); | ~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1238:11: required from ‘bool caffe2::ImageInputOp::Prefetch() [with Context = caffe2::CPUContext]’ 1238 | &ImageInputOp::DecodeAndTransform, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1151:6: required from here 1151 | bool ImageInputOp::Prefetch() { | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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]’ 890 | Contrast(img, img_size, contrast, randgen); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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 >&, const std::vector&, int, bool, const std::vector&, const std::vector&, std::mt19937*, std::bernoulli_distribution*, bool) [with Context = CPUContext; std::mt19937 = std::mersenne_twister_engine]’ 1009 | ColorJitter( | ~~~~~~~~~~~~~~~~~~~~^ 1010 | image_data, crop, saturation, brightness, contrast, randgen); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1099:26: required from ‘void caffe2::ImageInputOp::DecodeAndTransform(const std::string&, float*, int, int, std::size_t) [with Context = caffe2::CPUContext; std::string = std::__cxx11::basic_string; std::size_t = long unsigned int]’ 1099 | TransformImage( | ~~~~~~~~~~~~~~~~~~~~~~~^ 1100 | img, | ~~~~ 1101 | channels, | ~~~~~~~~~ 1102 | image_data, | ~~~~~~~~~~~ 1103 | color_jitter_, | ~~~~~~~~~~~~~~ 1104 | img_saturation_, | ~~~~~~~~~~~~~~~~ 1105 | img_brightness_, | ~~~~~~~~~~~~~~~~ 1106 | img_contrast_, | ~~~~~~~~~~~~~~ 1107 | color_lighting_, | ~~~~~~~~~~~~~~~~ 1108 | color_lighting_std_, | ~~~~~~~~~~~~~~~~~~~~ 1109 | color_lighting_eigvecs_, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1110 | color_lighting_eigvals_, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1111 | crop_, | ~~~~~~ 1112 | mirror_, | ~~~~~~~~ 1113 | mean_, | ~~~~~~ 1114 | std_, | ~~~~~ 1115 | randgen, | ~~~~~~~~ 1116 | &mirror_this_image, | ~~~~~~~~~~~~~~~~~~~ 1117 | is_test_); | ~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1238:11: required from ‘bool caffe2::ImageInputOp::Prefetch() [with Context = caffe2::CPUContext]’ 1238 | &ImageInputOp::DecodeAndTransform, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:1151:6: required from here 1151 | bool ImageInputOp::Prefetch() { | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/image/image_input_op.h:856:19: warning: unused variable ‘h’ [-Wunused-variable] 856 | for (const auto h : c10::irange(img_size)) { | ^ [781/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/observers/profile_observer.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/observers/profile_observer.h:25, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/observers/profile_observer.cc:17: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [782/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/observers/time_observer.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/observers/time_observer.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/observers/time_observer.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [783/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/observers/runcnt_observer.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/observers/runcnt_observer.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/observers/runcnt_observer.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [784/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/onnx/backend.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/onnx/backend.cc:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [785/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/onnx/backend_rep.cc.o [786/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/onnx/device.cc.o [787/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/onnx/helper.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/onnx/helper.cc:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [788/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/onnx/offline_tensor.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/onnx/offline_tensor.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/onnx/offline_tensor.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [789/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/onnx/onnx_exporter.cc.o [790/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/onnx/onnxifi_graph_info.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/shape_info.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/onnx/onnxifi_graph_info.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/onnx/onnxifi_graph_info.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [791/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/onnx/onnxifi_init.cc.o [792/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/abs_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/abs_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/abs_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [793/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/accumulate_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/accumulate_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/accumulate_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [794/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/accuracy_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/accuracy_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/accuracy_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [795/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/acos_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/acos_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/acos_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [796/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/affine_channel_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/affine_channel_op.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/affine_channel_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [797/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/alias_with_name.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/alias_with_name.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/alias_with_name.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [798/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/apmeter_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/apmeter_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/apmeter_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [799/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/arg_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/arg_ops.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/arg_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [800/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/asin_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/asin_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/asin_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [801/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/assert_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/assert_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/assert_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [802/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/async_net_barrier_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/async_net_barrier_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/async_net_barrier_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [803/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/atan_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/atan_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/atan_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [804/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/atomic_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/atomic_ops.cc:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [805/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/batch_box_cox_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/batch_box_cox_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/batch_box_cox_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [806/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/batch_bucketize_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/batch_bucketize_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/batch_bucketize_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [807/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/batch_gather_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/batch_gather_ops.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/batch_gather_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [808/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/batch_matmul_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/batch_matmul_op.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/batch_matmul_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [809/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/batch_moments_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/batch_moments_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/batch_moments_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [810/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/batch_permutation_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/batch_permutation_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/batch_permutation_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [811/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/batch_sparse_to_dense_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/batch_sparse_to_dense_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/batch_sparse_to_dense_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [812/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/bbox_transform_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/bbox_transform_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/bbox_transform_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [813/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/bisect_percentile_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/bisect_percentile_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/bisect_percentile_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [814/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/boolean_mask_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/boolean_mask_ops.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/boolean_mask_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [815/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/boolean_unmask_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/boolean_unmask_ops.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/boolean_unmask_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [816/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/box_with_nms_limit_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/box_with_nms_limit_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/box_with_nms_limit_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [817/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/bucketize_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/bucketize_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/bucketize_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [818/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/byte_weight_dequant_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/byte_weight_dequant_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/byte_weight_dequant_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [819/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/cast_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/cast_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/cast_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [820/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/cbrt_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/cbrt_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/cbrt_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [821/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/cc_bmm_bg_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/cc_bmm_bg_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/cc_bmm_bg_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [822/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/ceil_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/ceil_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/ceil_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [823/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/channel_backprop_stats_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/channel_backprop_stats_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/channel_backprop_stats_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [824/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/channel_shuffle_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/channel_shuffle_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/channel_shuffle_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [825/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/channel_stats_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/channel_stats_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/channel_stats_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [826/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/clip_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/clip_op.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/clip_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [827/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/collect_and_distribute_fpn_rpn_proposals_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/collect_and_distribute_fpn_rpn_proposals_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [828/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/communicator_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/communicator_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [829/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/concat_split_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/concat_split_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/concat_split_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [830/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/conditional_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/conditional_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/conditional_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [831/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/conv_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/conv_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/conv_gradient_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [832/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/conv_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/conv_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/conv_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [833/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/conv_op_eigen.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/conv_op_eigen.cc:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [834/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/conv_op_shared.cc.o [835/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/conv_transpose_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/conv_transpose_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/conv_transpose_gradient_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [836/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/conv_transpose_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/conv_transpose_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/conv_transpose_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [837/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/conv_transpose_op_mobile.cc.o [838/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/copy_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/copy_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/copy_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [839/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/copy_rows_to_tensor_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/copy_rows_to_tensor_op.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/copy_rows_to_tensor_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [840/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/cos_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/cos_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/cos_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [841/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/cosh_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/cosh_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/cosh_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [842/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/cosine_embedding_criterion_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/cosine_embedding_criterion_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/cosine_embedding_criterion_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [843/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/counter_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/counter_ops.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/counter_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [844/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/crash_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/crash_op.cc:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [845/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/create_scope_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/create_scope_op.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/create_scope_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [846/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/crf_viterbi_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/crf_viterbi_op.cc:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [847/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/cross_entropy_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/cross_entropy_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/cross_entropy_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [848/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/ctc_beam_search_decoder_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/ctc_beam_search_decoder_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/ctc_beam_search_decoder_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [849/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/ctc_greedy_decoder_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/ctc_greedy_decoder_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/ctc_greedy_decoder_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [850/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/cube_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/cube_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/cube_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [851/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/data_couple.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/data_couple.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/data_couple.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [852/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/dataset_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/dataset_ops.cc:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [853/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/deform_conv_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/conv_pool_op_base.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/deform_conv_gradient_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [854/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/deform_conv_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/deform_conv_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/deform_conv_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [855/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/dense_vector_to_id_list_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/dense_vector_to_id_list_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/dense_vector_to_id_list_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [856/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/distance_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/distance_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/distance_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [857/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/do_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/do_op.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/do_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [858/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/dropout_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/dropout_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/dropout_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [859/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_add_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_add_op.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_add_gradient_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [860/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_add_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_add_op.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_add_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [861/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_div_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_div_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_div_gradient_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [862/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_div_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_div_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_div_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [863/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_linear_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_linear_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_linear_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [864/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_logical_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_logical_ops.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_logical_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [865/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_mul_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_mul_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_mul_gradient_op.cc:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [866/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_mul_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_mul_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_mul_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [867/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [868/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_ops_schema.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops_schema.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [869/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_ops_utils.cc.o [870/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_sub_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_sub_op.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_sub_gradient_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [871/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_sub_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_sub_op.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_sub_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [872/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elementwise_sum_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/utility_ops.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_sum_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [873/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/elu_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elu_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elu_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [874/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/enforce_finite_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/enforce_finite_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/enforce_finite_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [875/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/ensure_clipped_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/ensure_clipped_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/ensure_clipped_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [876/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/ensure_cpu_output_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/ensure_cpu_output_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/ensure_cpu_output_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [877/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/erf_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/erf_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/erf_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [878/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/exp_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/exp_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/exp_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [879/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/expand_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/expand_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/expand_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [880/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/expand_squeeze_dims_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/expand_squeeze_dims_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/expand_squeeze_dims_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [881/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/fc_inference.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/fc_inference.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/fc_inference.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [882/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/feature_maps_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/feature_maps_ops.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/feature_maps_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [883/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/feed_blob_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/feed_blob_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/feed_blob_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [884/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/filler_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/filler_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/filler_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [885/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/find_duplicate_elements_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/find_duplicate_elements_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/find_duplicate_elements_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [886/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/find_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/find_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/find_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [887/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/flatten_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/flatten_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/flatten_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [888/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/flexible_top_k.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/flexible_top_k.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/flexible_top_k.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [889/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/floor_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/floor_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/floor_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [890/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/free_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/free_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/free_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [891/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/fully_connected_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/fully_connected_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/fully_connected_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [892/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/fused_rowwise_8bit_conversion_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/fused_rowwise_8bit_conversion_ops.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/fused_rowwise_8bit_conversion_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [893/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/fused_rowwise_nbit_conversion_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/fused_rowwise_nbit_conversion_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/fused_rowwise_nbit_conversion_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [894/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/fused_rowwise_nbitfake_conversion_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/fused_rowwise_nbitfake_conversion_ops.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/fused_rowwise_nbitfake_conversion_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [895/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/fused_rowwise_random_quantization_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/fused_rowwise_random_quantization_ops.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/fused_rowwise_random_quantization_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [896/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/gather_fused_8bit_rowwise_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/gather_fused_8bit_rowwise_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/gather_fused_8bit_rowwise_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [897/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/gather_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/gather_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/gather_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [898/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/gather_ranges_to_dense_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/gather_ranges_to_dense_op.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/gather_ranges_to_dense_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [899/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/gelu_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/gelu_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/gelu_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [900/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/generate_proposals_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/generate_proposals_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/generate_proposals_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [901/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/given_tensor_byte_string_to_uint8_fill_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/given_tensor_byte_string_to_uint8_fill_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [902/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/given_tensor_fill_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/given_tensor_fill_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/given_tensor_fill_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [903/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/glu_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/glu_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/glu_op.cc:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [904/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/group_norm_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/group_norm_op.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/group_norm_op.cc:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [905/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/gru_unit_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/gru_unit_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/gru_unit_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [906/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/h_softmax_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/h_softmax_op.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/h_softmax_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [907/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/half_float_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/half_float_ops.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/half_float_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [908/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/hard_sigmoid_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/hard_sigmoid_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/hard_sigmoid_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [909/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/heatmap_max_keypoint_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/heatmap_max_keypoint_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/heatmap_max_keypoint_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [910/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/histogram_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/histogram_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/histogram_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [911/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/if_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/if_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/if_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [912/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/im2col_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/im2col_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/im2col_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [913/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/index_hash_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/index_hash_ops.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/index_hash_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [914/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/index_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/index_ops.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/index_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [915/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/inference_lstm_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/inference_lstm_op.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/inference_lstm_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [916/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/instance_norm_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/instance_norm_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/instance_norm_gradient_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [917/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/instance_norm_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/instance_norm_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/instance_norm_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [918/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/integral_image_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/integral_image_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/integral_image_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [919/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/is_empty_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/is_empty_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/is_empty_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [920/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/jsd_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/jsd_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/jsd_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [921/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/key_split_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/key_split_ops.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/key_split_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [922/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/last_n_window_collector.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/last_n_window_collector.cc:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [923/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/layer_norm_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/layer_norm_op.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/layer_norm_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [924/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/leaky_relu_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/leaky_relu_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/leaky_relu_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [925/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/length_split_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/length_split_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/length_split_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [926/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lengths_pad_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_pad_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_pad_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [927/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lengths_reducer_fused_8bit_rowwise_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_reducer_fused_8bit_rowwise_ops.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_reducer_fused_8bit_rowwise_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/fused_rowwise_8bit_conversion_ops.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_reducer_fused_8bit_rowwise_ops.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [928/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lengths_reducer_fused_nbit_rowwise_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_reducer_fused_nbit_rowwise_ops.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_reducer_fused_nbit_rowwise_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_reducer_fused_nbit_rowwise_ops.cc:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [929/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lengths_reducer_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_reducer_ops.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_reducer_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/segment_reduction_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_reducer_ops.cc:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [930/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lengths_reducer_rowwise_8bit_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_reducer_rowwise_8bit_ops.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_reducer_rowwise_8bit_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [931/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lengths_tile_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_tile_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_tile_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [932/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lengths_top_k_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_top_k_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lengths_top_k_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [933/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/listwise_l2r_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/listwise_l2r_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/listwise_l2r_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [934/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/load_save_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/load_save_op.h:15, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/load_save_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [935/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/load_save_op_util.cc.o [936/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/local_response_normalization_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/local_response_normalization_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/local_response_normalization_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [937/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/locally_connected_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/locally_connected_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/locally_connected_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [938/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/locally_connected_op_util.cc.o [939/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/log1p_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/log1p_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/log1p_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [940/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/log_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/log_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/log_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [941/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/logit_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/logit_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/logit_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [942/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/loss_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/loss_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/loss_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/utility_ops.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/loss_op.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [943/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lp_pool_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/pool_op.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lp_pool_op.cc:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [944/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lpnorm_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lpnorm_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lpnorm_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [945/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/lstm_unit_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lstm_unit_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/lstm_unit_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [946/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/map_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/map_ops.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/map_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [947/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/margin_loss_l2r_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/margin_loss_l2r_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/margin_loss_l2r_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [948/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/margin_ranking_criterion_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/margin_ranking_criterion_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/margin_ranking_criterion_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [949/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/matmul_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/matmul_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/matmul_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [950/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/mean_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/mean_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/mean_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [951/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/merge_id_lists_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/merge_id_lists_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/merge_id_lists_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/merge_id_lists_op.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [952/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/minmax_gradient_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/minmax_ops.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/minmax_gradient_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [953/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/minmax_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/minmax_ops.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/minmax_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [954/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/mish_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/mish_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/mish_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [955/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/mod_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/mod_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/mod_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [956/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/moments_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/moments_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/moments_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [957/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/multi_class_accuracy_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/multi_class_accuracy_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/multi_class_accuracy_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [958/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/negate_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/negate_gradient_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/negate_gradient_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [959/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/negative_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/negative_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/negative_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [960/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/ngram_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/ngram_ops.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/ngram_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [961/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/norm_planar_yuv_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/norm_planar_yuv_op.cc:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [962/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/normalize_l1_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/normalize_l1_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/normalize_l1_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [963/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/normalize_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/normalize_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/normalize_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [964/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/numpy_tile_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/numpy_tile_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/numpy_tile_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [965/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/one_hot_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/one_hot_ops.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/one_hot_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [966/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/onnx_while_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/onnx_while_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/onnx_while_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [967/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/order_switch_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/order_switch_ops.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/order_switch_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [968/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/pack_rnn_sequence_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/pack_rnn_sequence_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/pack_rnn_sequence_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [969/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/pack_segments.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/pack_segments.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/pack_segments.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [970/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/pad_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/pad_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/pad_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [971/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/partition_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/partition_ops.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/partition_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [972/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/percentile_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/percentile_op.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/percentile_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [973/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/perplexity_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/perplexity_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/perplexity_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [974/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/piecewise_linear_transform_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/piecewise_linear_transform_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/piecewise_linear_transform_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [975/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/pool_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/pool_op.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/pool_gradient_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [976/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/pool_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/pool_op.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/pool_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [977/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/pool_op_util.cc.o [978/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/pow_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/pow_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/pow_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [979/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/prelu_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/prelu_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/prelu_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [980/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/prepend_dim_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/prepend_dim_op.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/prepend_dim_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [981/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/quant_decode_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/quant_decode_op.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/quant_decode_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [982/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/quantile_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/quantile_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/quantile_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [983/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/rank_loss_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/rank_loss_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/rank_loss_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [984/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reciprocal_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reciprocal_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reciprocal_gradient_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [985/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reciprocal_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reciprocal_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reciprocal_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [986/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reduce_front_back_max_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reduce_front_back_max_ops.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reduce_front_back_max_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [987/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reduce_front_back_mean_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reduce_front_back_sum_mean_ops.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reduce_front_back_mean_ops.cc:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [988/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reduce_front_back_sum_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reduce_front_back_sum_mean_ops.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reduce_front_back_sum_ops.cc:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [989/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reduce_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reduce_ops.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reduce_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [990/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reduction_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reduction_ops.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reduction_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [991/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/relu_n_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/relu_n_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/relu_n_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [992/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/relu_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/relu_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/relu_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [993/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/remove_data_blocks_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/remove_data_blocks_op.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/remove_data_blocks_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [994/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/replace_nan_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/replace_nan_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/replace_nan_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [995/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reservoir_sampling.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reservoir_sampling.cc:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [996/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reshape_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reshape_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reshape_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [997/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/resize_3d_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/resize_3d_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/resize_3d_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [998/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/resize_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/resize_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/resize_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [999/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/reverse_packed_segs_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reverse_packed_segs_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/reverse_packed_segs_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1000/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/rmac_regions_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/rmac_regions_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/rmac_regions_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1001/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/rms_norm_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/rms_norm_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/rms_norm_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1002/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/roi_align_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/roi_align_gradient_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/roi_align_gradient_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1003/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/roi_align_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/roi_align_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/roi_align_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1004/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/roi_align_rotated_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/roi_align_rotated_gradient_op.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/roi_align_rotated_gradient_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1005/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/roi_align_rotated_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/roi_align_rotated_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/roi_align_rotated_op.cc:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1006/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/roi_pool_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/roi_pool_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/roi_pool_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1007/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/rowmul_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/rowmul_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/rowmul_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1008/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/rsqrt_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/rsqrt_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/rsqrt_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1009/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/scale_blobs_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/scale_blobs_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/scale_blobs_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1010/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/scale_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/scale_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/scale_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1011/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/segment_reduction_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/segment_reduction_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/segment_reduction_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1012/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/self_binning_histogram_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/self_binning_histogram_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/self_binning_histogram_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1013/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/selu_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/selu_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/selu_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1014/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sequence_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sequence_ops.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sequence_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1015/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/shape_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/shape_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/shape_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1016/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sigmoid_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sigmoid_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sigmoid_gradient_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1017/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sigmoid_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sigmoid_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sigmoid_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1018/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sin_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sin_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sin_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1019/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sinh_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sinh_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sinh_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1020/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sinusoid_position_encoding_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sinusoid_position_encoding_op.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sinusoid_position_encoding_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1021/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/slice_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/slice_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/slice_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1022/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/softmax_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/softmax_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/softmax_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1023/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/softmax_utils.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/softmax_utils.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/softmax_utils.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1024/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/softmax_with_loss_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/softmax_with_loss_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/softmax_with_loss_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1025/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/softplus_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/softplus_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/softplus_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1026/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/softsign_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/softsign_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/softsign_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1027/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/space_batch_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/space_batch_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/space_batch_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1028/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sparse_dropout_with_replacement_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sparse_dropout_with_replacement_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sparse_dropout_with_replacement_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1029/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sparse_itemwise_dropout_with_replacement_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sparse_itemwise_dropout_with_replacement_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sparse_itemwise_dropout_with_replacement_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1030/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sparse_lp_regularizer_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sparse_lp_regularizer_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sparse_lp_regularizer_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1031/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sparse_normalize_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sparse_normalize_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sparse_normalize_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1032/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sparse_to_dense_mask_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sparse_to_dense_mask_op.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sparse_to_dense_mask_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1033/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sparse_to_dense_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sparse_to_dense_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sparse_to_dense_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1034/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/spatial_batch_norm_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/spatial_batch_norm_op.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/spatial_batch_norm_gradient_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1035/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/spatial_batch_norm_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/spatial_batch_norm_op.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/spatial_batch_norm_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1036/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/spatial_softmax_with_loss_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/spatial_softmax_with_loss_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/spatial_softmax_with_loss_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1037/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sqr_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sqr_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sqr_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1038/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/sqrt_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sqrt_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/sqrt_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1039/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/square_root_divide_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/square_root_divide_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/square_root_divide_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1040/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/stats_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/stats_ops.cc:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1041/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/stats_put_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/stats_put_ops.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/stats_put_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1042/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/stop_gradient.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/stop_gradient.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/stop_gradient.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1043/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/string_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/string_ops.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/string_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1044/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/stump_func_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/stump_func_op.h:22, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/stump_func_op.cc:17: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1045/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/stylizer_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/stylizer_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1046/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/summarize_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/summarize_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/summarize_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1047/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/swish_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/swish_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/swish_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1048/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/tan_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/tan_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/tan_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1049/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/tanh_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/tanh_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/tanh_gradient_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1050/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/tanh_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/elementwise_ops.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/tanh_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/tanh_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1051/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/tensor_protos_db_input.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/prefetch_op.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/tensor_protos_db_input.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/tensor_protos_db_input.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1052/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/text_file_reader.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/text_file_reader.cc:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1053/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/text_file_reader_utils.cc.o [1054/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/thresholded_relu_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/thresholded_relu_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/thresholded_relu_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1055/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/tile_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/tile_op.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/tile_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1056/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/top_k.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/top_k.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/top_k.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1057/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/transpose_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/transpose_op.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/transpose_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1058/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/tt_linear_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/tt_linear_op.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/tt_linear_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1059/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/unique_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/unique_ops.h:24, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/unique_ops.cc:17: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1060/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/unsafe_coalesce.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/unsafe_coalesce.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/unsafe_coalesce.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1061/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/upsample_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/upsample_op.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/upsample_op.cc:17: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1062/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/utility_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/utility_ops.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/utility_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1063/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/variable_length_sequence_padding.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/variable_length_sequence_padding.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/variable_length_sequence_padding.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1064/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/weighted_multi_sampling_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/weighted_multi_sampling_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/weighted_multi_sampling_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1065/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/weighted_sample_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/weighted_sample_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/weighted_sample_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1066/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/while_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/while_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/while_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1067/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/workspace_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/workspace_ops.cc:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1068/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/zero_gradient_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/zero_gradient_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/zero_gradient_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1069/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/rnn/recurrent_network_blob_fetcher_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/rnn/recurrent_network_blob_fetcher_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/rnn/recurrent_network_blob_fetcher_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1070/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/rnn/recurrent_network_executor.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/rnn/recurrent_network_executor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/rnn/recurrent_network_executor.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1071/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/operators/rnn/recurrent_network_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/rnn/recurrent_network_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/rnn/recurrent_network_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1072/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/annotations.cc.o [1073/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/backend_cutting.cc.o [1074/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/backend_transformer_base.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/shape_info.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/bound_shape_inferencer.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/backend_transformer_base.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/backend_transformer_base.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1075/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/bound_shape_inferencer.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/shape_info.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/bound_shape_inferencer.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/bound_shape_inferencer.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1076/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/converter.cc.o [1077/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/dead_code_elim.cc.o [1078/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/device.cc.o [1079/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/distributed.cc.o [1080/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/distributed_converter.cc.o [1081/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/fakefp16_transform.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/shape_info.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/glow_net_transform.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/fakefp16_transform.cc:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1082/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/fusion.cc.o [1083/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/glow_net_transform.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/shape_info.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/glow_net_transform.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/glow_net_transform.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1084/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/mobile.cc.o [1085/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/onnxifi_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/onnxifi_op.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/onnxifi_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1086/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/onnxifi_transformer.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/onnxifi_transformer.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/onnxifi_transformer.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1087/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/optimize_ideep.cc.o [1088/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/optimizer.cc.o [1089/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/passes.cc.o [1090/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/shape_info.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/shape_info.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/shape_info.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1091/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/opt/tvm_transformer.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/shape_info.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/bound_shape_inferencer.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/backend_transformer_base.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/tvm_transformer.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/opt/tvm_transformer.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1092/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/queue/blobs_queue.cc.o [1093/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/queue/blobs_queue_db.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/queue/blobs_queue_db.cc:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1094/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/queue/queue_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/queue/queue_ops.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/queue/queue_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1095/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/queue/rebatching_queue.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/queue/rebatching_queue.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/queue/rebatching_queue.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1096/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/queue/rebatching_queue_ops.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/queue/rebatching_queue.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/queue/rebatching_queue_ops.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/queue/rebatching_queue_ops.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1097/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/adadelta_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/adadelta_op.h:1, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/adadelta_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1098/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/adagrad_fused.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/adagrad_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/adagrad_fused.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/adagrad_fused.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1099/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/adagrad_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/adagrad_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/adagrad_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1100/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/adam_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/adam_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/adam_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1101/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/clip_tensor_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/clip_tensor_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/clip_tensor_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1102/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/decay_adagrad_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/decay_adagrad_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/decay_adagrad_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1103/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/ftrl_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/ftrl_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/ftrl_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1104/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/gftrl_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/gftrl_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/gftrl_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1105/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/iter_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/iter_op.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/iter_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1106/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/lars_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/lars_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/lars_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1107/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/learning_rate_adaption_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/learning_rate_adaption_op.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/learning_rate_adaption_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1108/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/learning_rate_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/learning_rate_op.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/learning_rate_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/export_caffe2_op_to_c10.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1109/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/math_lp.cc.o [1110/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/momentum_sgd_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/momentum_sgd_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/momentum_sgd_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1111/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/rmsprop_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/rmsprop_op.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/rmsprop_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1112/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/rowwise_adagrad_fused.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/rowwise_adagrad_fused.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/rowwise_adagrad_fused.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1113/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/rowwise_counter.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/rowwise_counter.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/rowwise_counter.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1114/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/storm_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/storm_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/storm_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1115/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/weight_scale_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/weight_scale_op.h:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/weight_scale_op.cc:17: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1116/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/wngrad_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/wngrad_op.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/wngrad_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1117/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/sgd/yellowfin_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/yellowfin_op.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/sgd/yellowfin_op.cc:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1118/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/share/contrib/depthwise/depthwise3x3_conv_op.cc.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/core/operator.h:37, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/operators/conv_op.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/caffe2/share/contrib/depthwise/depthwise3x3_conv_op.cc:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1119/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/transforms/common_subexpression_elimination.cc.o [1120/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/transforms/conv_to_nnpack_transform.cc.o [1121/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/transforms/pattern_net_transform.cc.o [1122/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/transforms/single_op_transform.cc.o [1123/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/Functions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/FunctionsManual.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/Functions.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1124/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/ViewFuncs.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/ViewFuncs.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/ViewFuncs.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1125/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_0.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeUtils.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/VariableType_0.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeUtils.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1126/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_1.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeUtils.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/VariableType_1.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeUtils.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1127/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_2.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeUtils.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/VariableType_2.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeUtils.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1128/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_3.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeUtils.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/VariableType_3.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeUtils.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1129/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_4.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeUtils.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/VariableType_4.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeUtils.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1130/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_0.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tracer.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/TraceType_0.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/TraceType_0.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1131/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_1.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tracer.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/TraceType_1.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/TraceType_1.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1132/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_2.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tracer.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/TraceType_2.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/TraceType_2.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1133/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_3.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tracer.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/TraceType_3.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/TraceType_3.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1134/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_4.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tracer.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/TraceType_4.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/TraceType_4.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1135/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/ADInplaceOrViewType_0.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeUtils.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/ADInplaceOrViewType_0.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeUtils.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1136/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/ADInplaceOrViewType_1.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeUtils.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/ADInplaceOrViewType_1.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeUtils.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1137/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/inductor/aoti_torch/utils.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/inductor/aoti_torch/generated/c_shim_cpu.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1138/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/LazyNativeFunctions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/tensor.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/generated/LazyNativeFunctions.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_device.h: In function ‘std::optional torch::lazy::GetBackendDevice(const T&, const Args& ...) [with T = std::optional; Args = {}]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_device.h:89:30: warning: infinite recursion detected [-Winfinite-recursion] 89 | c10::optional GetBackendDevice( | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_device.h:92:8: note: recursive call 92 | auto optional_device = GetBackendDevice(tensor); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_device.h: In function ‘std::optional torch::lazy::GetBackendDevice(const T&, const Args& ...) [with T = std::optional; Args = {}]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_device.h:89:30: warning: infinite recursion detected [-Winfinite-recursion] 89 | c10::optional GetBackendDevice( | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_device.h:92:8: note: recursive call 92 | auto optional_device = GetBackendDevice(tensor); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_device.h: In function ‘std::optional torch::lazy::GetBackendDevice(const T&, const Args& ...) [with T = c10::SymInt; Args = {}]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_device.h:89:30: warning: infinite recursion detected [-Winfinite-recursion] 89 | c10::optional GetBackendDevice( | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_device.h:92:8: note: recursive call 92 | auto optional_device = GetBackendDevice(tensor); | ^~~~~~~~~~~~~~~ [1139/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/RegisterAutogradLazy.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/generated/RegisterAutogradLazy.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/generated/RegisterAutogradLazy.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1140/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/RegisterLazy.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/generated/RegisterLazy.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/generated/RegisterLazy.cpp:47: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1141/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/anomaly_mode.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/anomaly_mode.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1142/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/autograd.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/autograd.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1143/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd_meta.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/autograd_meta.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1144/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd_not_implemented_fallback.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/autograd_not_implemented_fallback.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/autograd_not_implemented_fallback.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1145/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/cpp_hook.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/custom_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/cpp_hook.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1146/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/custom_function.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/autograd.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/custom_function.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1147/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/engine.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/engine.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/engine.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1148/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/forward_grad.cpp.o [1149/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/function.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/function.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1150/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/accumulate_grad.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/CachedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/functions/accumulate_grad.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/functions/accumulate_grad.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/functions/accumulate_grad.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1151/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/basic_ops.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/functions/basic_ops.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/functions/basic_ops.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1152/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/tensor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/functions/tensor.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/functions/tensor.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1153/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/utils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/autograd.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/functions/utils.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/functions/utils.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1154/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/input_buffer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/input_buffer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/input_buffer.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1155/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/input_metadata.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/input_metadata.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/input_metadata.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1156/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/jit_decomp_interface.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/jit_decomp_interface.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/jit_decomp_interface.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1157/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/profiler_kineto.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/profiler_kineto.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/profiler_kineto.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1158/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/profiler_legacy.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/profiler_legacy.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/profiler_legacy.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/profiler_legacy.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1159/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/record_function_ops.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/record_function_ops.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/record_function_ops.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/record_function_ops.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1160/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/saved_variable.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/engine.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/saved_variable.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1161/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/utils/warnings.cpp.o [1162/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/variable.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/ViewFuncs.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.cpp:11: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1163/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/variable_info.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/zeros.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable_info.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1164/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/inductor/aoti_runner/model_container_runner.cpp.o [1165/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/inductor/aoti_runner/model_container_runner_cpu.cpp.o [1166/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/inductor/aoti_torch/shim_common.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/inductor/aoti_torch/proxy_executor.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/inductor/aoti_torch/shim_common.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1167/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/inductor/aoti_torch/tensor_converter.cpp.o [1168/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/inductor/inductor_ops.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/mm.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/inductor/inductor_ops.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/inductor/inductor_ops.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1169/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/function_impl.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1170/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/module.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1171/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/object.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1172/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_debug_handler.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_debug_handler.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_debug_handler.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_detail.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_debug_handler.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1173/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_debug_info.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_debug_handler.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_debug_info.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_debug_info.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_detail.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_debug_handler.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1174/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_detail.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_detail.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_detail.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1175/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_interface.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_interface.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_interface.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1176/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_resolver.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/sugared_value.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/resolver.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_resolver.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_resolver.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1177/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/codegen.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/arg_spec.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/codegen.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/codegen.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/codegen.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1178/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/compiler.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/compiler.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/compiler.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/interface.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/compiler.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1179/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/executor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/executor.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/executor.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/interface.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/kernel_spec.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/executor.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1180/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/fallback.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/fallback.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/fallback.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/interface.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/kernel_spec.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/kernel_cache.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/fallback.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1181/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/interface.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/interface.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/interface.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/interface.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1182/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/kernel_cache.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/kernel_spec.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/kernel_cache.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/kernel_cache.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/interface.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/kernel_spec.h:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1183/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/builtin_functions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/builtin_functions.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/builtin_functions.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1184/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/canonicalize_modified_loop.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/canonicalize_modified_loop.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1185/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/convert_to_ssa.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/convert_to_ssa.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/convert_to_ssa.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/convert_to_ssa.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1186/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/edit_distance.cpp.o [1187/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/exit_transforms.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/exit_transforms.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/exit_transforms.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1188/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/inline_loop_condition.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/inline_loop_condition.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/inline_loop_condition.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1189/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/ir_emitter.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.cpp: In member function ‘std::vector torch::jit::to_ir::emitFormalArguments(const torch::jit::Def&, const torch::jit::Self*, const c10::FunctionSchema&, torch::jit::Block*)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.cpp: In member function ‘void torch::jit::to_ir::emitDelete(const torch::jit::Delete&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.cpp: In member function ‘std::shared_ptr torch::jit::to_ir::emitApplySpecialForm(c10::Symbol, torch::jit::Apply&, std::shared_ptr, const c10::TypePtr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.cpp: In member function ‘std::shared_ptr torch::jit::to_ir::emitSubscript(const torch::jit::Subscript&, c10::TypePtr)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ [1190/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/name_mangler.cpp.o [1191/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/parser.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/parser.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/parser.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1192/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/schema_matching.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/schema_matching.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/schema_matching.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1193/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/script_type_parser.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/sugared_value.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/resolver.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.cpp: In member function ‘std::optional, int> > torch::jit::ScriptTypeParser::parseBroadcastList(const torch::jit::Expr&) const’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.cpp: In member function ‘std::optional > torch::jit::ScriptTypeParser::parseBaseTypeName(const torch::jit::Expr&) const’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ [1194/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/sugared_value.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/sugared_value.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/sugared_value.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/sugared_value.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1195/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/tracer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tracer.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tracer.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tracer.cpp:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1196/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/versioned_symbols.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/versioned_symbols.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/versioned_symbols.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1197/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/alias_analysis.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/alias_analysis.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1198/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/attributes.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/attributes.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1199/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/constants.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/constants.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/constants.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/constants.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_ops_utils.h:23, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/constants.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1200/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/graph_utils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/graph_utils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/graph_utils.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1201/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/ir.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1202/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/irparser.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/irparser.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1203/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/node_hashing.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/node_hashing.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1204/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/scope.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/scope.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1205/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/subgraph_matcher.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/subgraph_matcher.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/subgraph_matcher.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1206/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/type_hashing.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/type_hashing.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/type_hashing.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1207/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/jit_log.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/jit_log.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/jit_log.cpp:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1208/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/jit_opt_limit.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/jit_opt_limit.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/jit_opt_limit.cpp:11: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1209/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/model_compatibility.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/compatibility/model_compatibility.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/compatibility/model_compatibility.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/import_read.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/compatibility/model_compatibility.cpp:11: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1210/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/runtime_compatibility.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/compatibility/runtime_compatibility.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1211/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/flatbuffer_loader.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/flatbuffer_loader.cpp:15: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/flatbuffer_loader.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/flatbuffer_loader.cpp:26: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/import_read.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/flatbuffer_loader.cpp:36: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1212/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/function.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/function.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/function.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/function.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1213/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/import.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/import.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/import.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/import_read.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/import.cpp:24: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1214/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/interpreter.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/code.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/interpreter.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/interpreter.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1215/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/module.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/module.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1216/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/aot_compiler.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/nnc/aot_compiler.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/nnc/aot_compiler.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1217/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/backend.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/nnc/backend.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_interface.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend.h:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1218/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/context.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/nnc/context.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/nnc/context.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/nnc/context.cpp: In constructor ‘torch::jit::mobile::nnc::Function::Function(const c10::IValue&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/nnc/context.cpp:137:52: note: the temporary was destroyed at the end of the full expression ‘(& c10::Dict::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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/nnc/context.cpp:143:53: note: the temporary was destroyed at the end of the full expression ‘(& c10::Dict::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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/nnc/context.cpp:152:54: note: the temporary was destroyed at the end of the full expression ‘(& c10::Dict::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()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [1219/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/registry.cpp.o [1220/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/observer.cpp.o [1221/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/parse_bytecode.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/parse_bytecode.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1222/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/parse_operators.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/parse_operators.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1223/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/prim_ops_registery.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/prim_ops_registery.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/prim_ops_registery.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1224/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/promoted_prim_ops.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/promoted_prim_ops.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1225/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/quantization.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/quantization.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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::value())->torch::jit::mobile::Method::function()’ 56 | m.find_method(quantized_method_name).value().function(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [1226/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/register_ops_common_utils.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/register_ops_common_utils.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1227/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/type_parser.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/type_parser.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1228/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/upgrader_mobile.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/upgrader_mobile.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/upgrader_mobile.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1229/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/upgraders.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/operator_upgraders/upgraders.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/operator_upgraders/upgraders.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1230/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/upgraders_entry.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/operator_upgraders/upgraders_entry.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/operator_upgraders/upgraders_entry.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/operator_upgraders/upgraders_entry.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1231/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/utils.cpp.o [1232/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/version_map.cpp.o [1233/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/add_if_then_else.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/add_if_then_else.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1234/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/annotate_warns.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/annotate_warns.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/annotate_warns.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1235/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/bailout_graph.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/bailout_graph.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/bailout_graph.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/bailout_graph.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1236/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/batch_mm.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/batch_mm.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/batch_mm.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1237/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/canonicalize.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/canonicalize.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/canonicalize.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1238/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/canonicalize_graph_fuser_ops.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/canonicalize_graph_fuser_ops.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1239/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/check_strict_fusion.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/check_strict_fusion.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/check_strict_fusion.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1240/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/clear_profiling.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/clear_profiling.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/clear_profiling.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/clear_profiling.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1241/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/clear_undefinedness.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/clear_undefinedness.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/clear_undefinedness.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/clear_undefinedness.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1242/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/common_subexpression_elimination.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/common_subexpression_elimination.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/common_subexpression_elimination.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1243/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/concat_opt.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/concat_opt.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/concat_opt.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1244/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/constant_pooling.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/constant_pooling.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/constant_pooling.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1245/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/constant_propagation.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/constant_propagation.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/constant_propagation.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1246/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/create_autodiff_subgraphs.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/create_autodiff_subgraphs.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/create_autodiff_subgraphs.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1247/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/create_functional_graphs.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/create_functional_graphs.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/create_functional_graphs.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1248/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/dbr_quantization/remove_redundant_aliases.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/dbr_quantization/remove_redundant_aliases.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1249/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dead_code_elimination.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/dead_code_elimination.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/dead_code_elimination.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1250/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/decompose_ops.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/decompose_ops.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/decompose_ops.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/decompose_ops.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1251/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/device_type_analysis.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/device_type_analysis.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1252/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dtype_analysis.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/dtype_analysis.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/dtype_analysis.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1253/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/eliminate_no_ops.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/eliminate_no_ops.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/eliminate_no_ops.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1254/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/erase_number_types.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/erase_number_types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/erase_number_types.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1255/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/fixup_trace_scope_blocks.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/fixup_trace_scope_blocks.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1256/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fold_conv_bn.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/fold_conv_bn.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/fold_conv_bn.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1257/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fold_linear_bn.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/fold_linear_bn.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/fold_linear_bn.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1258/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/freeze_module.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/freeze_module.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/freeze_module.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/graph_executor_impl.h:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/freeze_module.cpp:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1259/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_concat_linear.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/frozen_concat_linear.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1260/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/constants.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/frozen_conv_add_relu_fusion.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/frozen_conv_add_relu_fusion.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1261/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_conv_folding.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/constants.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/frozen_conv_folding.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/frozen_conv_folding.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1262/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_graph_optimizations.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/frozen_graph_optimizations.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1263/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_linear_folding.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/constants.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/frozen_linear_folding.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/frozen_linear_folding.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1264/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_linear_transpose.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/frozen_linear_transpose.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1265/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/frozen_ops_to_mkldnn.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/frozen_ops_to_mkldnn.cpp:11: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1266/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fuse_linear.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/fuse_linear.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/fuse_linear.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1267/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fuse_relu.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/fuse_relu.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/fuse_relu.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1268/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/graph_fuser.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/graph_fuser.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/graph_fuser.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/graph_fuser.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1269/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/graph_rewrite_helper.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/graph_rewrite_helper.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/graph_rewrite_helper.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1270/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/guard_elimination.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/guard_elimination.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/guard_elimination.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/guard_elimination.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1271/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/hoist_conv_packed_params.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1272/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_autodiff_subgraphs.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/inline_autodiff_subgraphs.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/inline_autodiff_subgraphs.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1273/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_fork_wait.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/inline_fork_wait.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/inline_fork_wait.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1274/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_forked_closures.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/inline_forked_closures.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/inline_forked_closures.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/inline_forked_closures.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1275/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inliner.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/inliner.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/inliner.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1276/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inplace_check.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/inplace_check.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/inplace_check.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1277/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/insert_guards.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/insert_guards.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/insert_guards.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/insert_guards.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1278/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/integer_value_refinement.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/integer_value_refinement.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1279/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lift_closures.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/lift_closures.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/lift_closures.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/lift_closures.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1280/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/liveness.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/liveness.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/liveness.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/liveness.h:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1281/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/loop_unrolling.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/loop_unrolling.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/loop_unrolling.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1282/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_grad_of.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/lower_grad_of.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/lower_grad_of.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1283/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_tuples.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/lower_tuples.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/lower_tuples.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1284/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/metal_rewrite.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/metal_rewrite.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/graph_executor_impl.h:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/metal_rewrite.cpp:16: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1285/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/mkldnn_rewrite.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/mkldnn_rewrite.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1286/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/normalize_ops.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/normalize_ops.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/normalize_ops.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1287/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/pass_manager.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/pass_manager.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/pass_manager.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1288/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/peephole.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/peephole.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1289/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_alias_sensitive.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/peephole_alias_sensitive.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1290/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_dict_idioms.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/peephole_dict_idioms.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1291/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_list_idioms.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/peephole_list_idioms.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1292/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_non_tensor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/peephole.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/peephole_non_tensor.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1293/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/prepack_folding.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/prepack_folding.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1294/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/quantization/dedup_module_uses.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/quantization/dedup_module_uses.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1295/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/finalize.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/quantization/finalize.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/quantization/finalize.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1296/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/fusion_passes.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/quantization/fusion_passes.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/quantization/fusion_passes.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1297/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/helper.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/quantization/helper.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/quantization/helper.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/quantization/helper.cpp: In function ‘void torch::jit::cloneMethod(Module&, const std::string&, const std::string&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [1298/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/insert_observers.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/quantization/insert_observers.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/quantization/insert_observers.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1299/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/quantization/insert_quant_dequant.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/quantization/insert_quant_dequant.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1300/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/quantization_type.cpp.o [1301/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/quantization/register_packed_params.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/quantization/register_packed_params.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1302/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/refine_tuple_types.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/refine_tuple_types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/refine_tuple_types.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1303/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_dropout.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/remove_dropout.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/remove_dropout.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1304/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_exceptions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/constant_pooling.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/remove_exceptions.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1305/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_expands.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/remove_expands.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/remove_expands.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1306/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_mutation.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/remove_mutation.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/remove_mutation.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1307/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_redundant_profiles.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/dead_code_elimination.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/remove_redundant_profiles.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1308/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/replacement_of_old_operators.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/replacement_of_old_operators.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1309/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/requires_grad_analysis.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/constants.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/requires_grad_analysis.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/requires_grad_analysis.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1310/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/restore_mutation.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/remove_mutation.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/restore_mutation.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1311/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/shape_analysis.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/shape_analysis.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1312/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/specialize_autogradzero.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/specialize_autogradzero.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/specialize_autogradzero.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1313/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/subgraph_rewrite.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/subgraph_rewrite.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/subgraph_rewrite.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1314/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_analysis.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1315/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_cache.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_cache.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1316/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_runtime_fusion.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_ops_utils.h:23, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_runtime_fusion.cpp:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1317/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/tensorexpr_fuser.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/tensorexpr_fuser.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/tensorexpr_fuser.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1318/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/update_differentiable_graph_requires_grad.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/update_differentiable_graph_requires_grad.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1319/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/memory_dag.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/utils/memory_dag.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/utils/memory_dag.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1320/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/op_registry.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/utils/op_registry.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/utils/op_registry.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1321/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/optimization_utils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/utils/optimization_utils.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/utils/optimization_utils.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1322/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/subgraph_utils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/utils/subgraph_utils.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/utils/subgraph_utils.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1323/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/value_refinement_utils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/value_refinement_utils.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/value_refinement_utils.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1324/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/variadic_ops.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/variadic_ops.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/variadic_ops.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1325/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/vulkan_rewrite.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/vulkan_rewrite.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/graph_executor_impl.h:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/vulkan_rewrite.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1326/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/xnnpack_rewrite.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/xnnpack/OpContext.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/xnnpack_rewrite.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/xnnpack_rewrite.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/graph_executor_impl.h:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/xnnpack_rewrite.cpp:17: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1327/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/python/update_graph_executor_opt.cpp.o [1328/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/python/utf8_decoding_ignore.cpp.o [1329/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/argument_spec.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/argument_spec.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/argument_spec.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/argument_spec.h:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1330/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/autodiff.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/autodiff.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/autodiff.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1331/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/decomposition_registry.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/decomposition_registry.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1332/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/decomposition_registry_util.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/inliner.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/decomposition_registry_util.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1333/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/graph_executor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/graph_executor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/graph_executor.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/graph_executor_impl.h:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/graph_executor.cpp:37: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/graph_executor.cpp: In member function ‘void torch::jit::{anonymous}::DifferentiableGraphBackward::addOutputForIValue(const c10::IValue&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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 > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 333 | for (const at::Tensor& tensor : value.toTensorList()) { | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/graph_executor.cpp: In member function ‘void torch::jit::{anonymous}::DifferentiableGraphBackward::addInputIValue(const c10::IValue&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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 > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 364 | for (const at::Tensor& tensor : tensors) { | ^~~~~~~ [1334/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/instruction.cpp.o [1335/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/interpreter.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/interpreter.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/interpreter.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1336/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter/frame.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/interpreter/code_impl.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/interpreter/frame.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/interpreter/frame.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1337/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter/preprocess_graph.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/interpreter/preprocess_graph.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/interpreter/preprocess_graph.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1338/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/jit_exception.cpp.o [1339/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/jit_trace.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/jit_trace.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir_views.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/jit_trace.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1340/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/logging.cpp.o [1341/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/operator.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1342/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/print_handler.cpp.o [1343/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/profiling_graph_executor_impl.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/profiling_graph_executor_impl.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/graph_executor_impl.h:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/profiling_graph_executor_impl.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1344/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/profiling_record.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/profiling_record.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/profiling_record.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/profiling_record.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1345/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_ops_utils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/autograd.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_ops_utils.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_ops_utils.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_ops_utils.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_ops_utils.h:23: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1346/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/script_profile.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/script_profile.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/script_profile.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/script_profile.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1347/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/inliner.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/serialized_shape_function_registry.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1348/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/profiling_graph_executor_impl.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/simple_graph_executor_impl.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/graph_executor_impl.h:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/profiling_graph_executor_impl.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1349/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/slice_indices_adjust.cpp.o [1350/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/fusion.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/fusion.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/fusion.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1351/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/generated_ops.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/ops.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/generated_ops.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1352/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/impl.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/impl.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/impl.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/impl.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1353/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/memory_planner.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/impl.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/memory_planner.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/memory_planner.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/impl.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1354/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/native_ops.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/inliner.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/native_ops.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_ops_utils.h:23, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/native_ops.cpp:18: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/native_ops.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/native_ops.cpp: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/ops.h:46:28: note: in definition of macro ‘REGISTER_NATIVE_OPERATOR_FUNCTOR’ 46 | const SROpFunctor fn = __VA_ARGS__; \ | ^~~~~~~~~~~ [1355/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/ops.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/ops.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/ops.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1356/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/passes.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/passes.h:1, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/passes.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1357/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/te_wrapper.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/codegen.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/te_wrapper.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/te_wrapper.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/static/te_wrapper.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1358/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_script.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/symbolic_script.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/symbolic_script.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/symbolic_script.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1359/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_shape_registry.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/symbolic_shape_registry.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1360/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/symbolic_shape_registry_util.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1361/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/vararg_functions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/vararg_functions.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/vararg_functions.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1362/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/callstack_debug_info_serialization.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/callstack_debug_info_serialization.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1363/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/import.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/import.cpp:20: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1364/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_export_helpers.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/source_range_serialization.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/source_range_serialization_impl.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/import_export_helpers.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1365/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_read.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/import_read.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/import_read.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/sugared_value.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/resolver.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1366/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_source.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/import_source.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/import_source.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/import_source.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/parser.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/import_source.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [1367/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/pickle.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/sugared_value.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/resolver.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1368/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/pickler.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickler.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rref_context.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickler.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rref_context.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1369/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/python_print.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/python_print.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/python_print.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1370/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/source_range_serialization.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/source_range_serialization.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/source_range_serialization.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/sugared_value.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/resolver.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/source_range_serialization.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1371/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/type_name_uniquer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/type_hashing.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/type_name_uniquer.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/type_name_uniquer.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1372/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/unpickler.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rref_context.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rref_context.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.cpp: In function ‘void torch::jit::restoreAccurateTypeTags(const c10::IValue&, const c10::TypePtr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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 > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 145 | for (const IValue& item : lst) { | ^~~ [1373/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/block_codegen.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/block_codegen.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/block_codegen.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1374/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/bounds_inference.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/bounds_overlap.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/mem_dependency_checker.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/bounds_inference.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/bounds_inference.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1375/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/bounds_overlap.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/bounds_overlap.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/bounds_overlap.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1376/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/codegen.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/analysis.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/codegen.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1377/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/cpp_codegen.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/codegen.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/cpp_codegen.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/cpp_codegen.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1378/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/eval.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/codegen.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/eval.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/eval.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1379/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/expr.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/expr.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1380/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/external_functions.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/external_functions.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/import_source.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/external_functions.cpp:20: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/parser.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/import_source.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1381/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_codegen.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/external_functions.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/external_functions_codegen.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1382/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_core.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/external_functions_core.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/external_functions_core.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1383/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_registry.cpp.o [1384/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/graph_opt.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/graph_opt.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/graph_opt.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1385/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/hash_provider.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/hash_provider.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/hash_provider.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1386/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/intrinsic_symbols.cpp.o [1387/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1388/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_cloner.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir_cloner.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1389/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_mutator.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/codegen.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/eval.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir_mutator.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1390/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_printer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir_printer.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir_printer.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1391/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_simplifier.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/bounds_overlap.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir_simplifier.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1392/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_verifier.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir_verifier.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1393/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_visitor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir_visitor.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1394/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/kernel.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/kernel.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/kernel.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/kernel.cpp: In member function ‘torch::jit::tensorexpr::ExprHandle torch::jit::tensorexpr::TensorExprKernel::getVarForShape(const c10::ShapeSymbol&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/kernel.cpp:485:21: warning: redundant move in return statement [-Wredundant-move] 485 | return std::move(var); | ~~~~~~~~~^~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/kernel.cpp:485:21: note: remove ‘std::move’ call /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/kernel.cpp:1027:21: warning: redundant move in return statement [-Wredundant-move] 1027 | return std::move(var); | ~~~~~~~~~^~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/kernel.cpp:1027:21: note: remove ‘std::move’ call [1395/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/llvm_codegen.cpp.o [1396/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/llvm_jit.cpp.o [1397/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/loopnest.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/analysis.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/loopnest.cpp:18: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1398/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/loopnest_randomization.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/bounds_overlap.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir_simplifier.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/loopnest_randomization.cpp:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1399/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/lowerings.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/function_schema_parser.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/lowerings.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/lowerings.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/lowerings.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1400/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/mem_dependency_checker.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/bounds_overlap.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/mem_dependency_checker.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/mem_dependency_checker.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1401/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/conv2d.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/lowerings.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/misc.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/conv2d.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/conv2d.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1402/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/matmul.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/bounds_overlap.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir_simplifier.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/matmul.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/kernel.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/matmul.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/matmul.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1403/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/misc.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/bounds_overlap.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir_simplifier.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/misc.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/kernel.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/misc.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1404/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/norm.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/lowerings.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/misc.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/norm.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1405/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/pointwise.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/lowerings.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/misc.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/pointwise.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1406/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/quantization.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/bounds_overlap.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir_simplifier.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/quantization.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/lowerings.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/misc.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/quantization.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1407/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/reduction.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/kernel.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/reduction.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/reduction.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1408/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/softmax.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/kernel.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/softmax.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/operators/softmax.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1409/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/reduction.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/reduction.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/reduction.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1410/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/registerizer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/hash_provider.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/registerizer.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/registerizer.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1411/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/tensor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/reduction.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/tensor.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/tensor.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1412/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/types.cpp.o [1413/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/unique_name_manager.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/tensorexpr/unique_name_manager.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1414/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/testing/file_check.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/testing/file_check.cpp:18: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1415/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/testing/hooks_for_testing.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/testing/hooks_for_testing.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/testing/hooks_for_testing.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1416/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/backend_device.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_interface.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_device.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1417/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/backend_interface.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_interface.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_interface.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1418/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/lowering_context.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/lowering_context.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/lowering_context.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1419/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/config.cpp.o [1420/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/debug_util.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/tensor.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/debug_util.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/debug_util.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1421/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/hash.cpp.o [1422/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/helpers.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/helpers.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/helpers.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1423/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_interface.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/ir.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1424/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_dump_util.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/ir.h:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/ir_dump_util.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/ir_dump_util.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1425/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_metadata.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/tensor.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/debug_util.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/ir_metadata.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1426/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_util.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/ir.h:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/ir_util.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/ir_util.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1427/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/lazy_graph_executor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/lowering_context.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/lazy_graph_executor.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/lazy_graph_executor.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1428/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/metrics.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_interface.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/metrics.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1429/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/multi_wait.cpp.o [1430/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/ir.h:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/ops/arithmetic_ir_ops.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/ops/arithmetic_ir_ops.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1431/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ops/utils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_interface.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/tensor_util.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/ops/utils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/ops/utils.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1432/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/permutation_util.cpp.o [1433/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/shape.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1434/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/shape_inference.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape_inference.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape_inference.cpp:50: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1435/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/tensor.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/tensor.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1436/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor_impl.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/tensor.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/tensor_impl.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/tensor_impl.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1437/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor_util.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_interface.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/tensor_util.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/tensor_util.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1438/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/thread_pool.cpp.o [1439/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/trie.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/ir.h:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/trie.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/trie.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1440/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/monitor/counters.cpp.o [1441/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/monitor/events.cpp.o [1442/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/collection.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/kineto_shim.h:62, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/collection.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/collection.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1443/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/combined_traceback.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/interpreter.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/combined_traceback.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/combined_traceback.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1444/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/data_flow.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/kineto_shim.h:62, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/collection.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/data_flow.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1445/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/kineto_client_interface.cpp.o [1446/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/kineto_shim.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/kineto_shim.h:62, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/collection.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/kineto_shim.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1447/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/observer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/observer.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1448/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/python_tracer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/kineto_shim.h:62, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/python_tracer.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/python_tracer.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1449/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/vulkan.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/util.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/vulkan.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/vulkan.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1450/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/perf.cpp.o [1451/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/execution_trace_observer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/standalone/execution_trace_observer.cpp:24: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1452/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/itt_observer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/standalone/itt_observer.h:1, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/standalone/itt_observer.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1453/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/nvtx_observer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/standalone/nvtx_observer.h:1, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/standalone/nvtx_observer.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/standalone/nvtx_observer.cpp: In function ‘std::__cxx11::list > torch::profiler::impl::flattenOpIdList(const c10::List&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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 > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 73 | for (const c10::IValue& input : list) { | ^~~~ [1454/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/stubs/base.cpp.o [1455/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/unwind/unwind.cpp.o [1456/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/unwind/unwind_fb.cpp.o [1457/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/util.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/util.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/util.cpp: In function ‘std::vector > torch::profiler::impl::flattenList(const c10::List&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/util.cpp:169:35: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 169 | for (const c10::IValue& input : list) { | ^~~~ [1458/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/cpp_stacktraces.cpp.o [1459/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/schema_info.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/schema_info.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1460/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/tensor_flatten.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/tensor_flatten.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/tensor_flatten.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1461/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/variadic.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1462/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/cuda/interface.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/cuda/interface.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/cuda/interface.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_ops_utils.h:23, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/cuda/interface.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1463/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/autocast.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/autocast.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/autocast.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1464/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_graph.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/lower_graph.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/lower_graph.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1465/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_inplace_ops.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/remove_inplace_ops.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/remove_inplace_ops.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1466/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/utils/check_alias_annotation.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/utils/check_alias_annotation.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/utils/check_alias_annotation.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/utils/check_alias_annotation.cpp: In function ‘c10::IValue torch::jit::{anonymous}::deepCopy(const c10::IValue&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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 > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 31 | for (const IValue& value : source) { | ^~~~~~ [1467/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_c10_ops.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_c10_ops.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1468/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_prim_ops.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/autocast_mode.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_prim_ops.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/autocast_mode.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_ops_utils.h:23, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_prim_ops.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_ops_utils.h: In instantiation of ‘void torch::jit::listContains(Stack&) [with T = std::__cxx11::basic_string; Stack = std::vector]’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_prim_ops.cpp:981:34: required from here 981 | aliasAnalysisFromSchema()), | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/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, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::operator std::conditional_t&, std::__cxx11::basic_string >()’ 333 | for (const T& item : list) { | ^~~ [1469/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/interface.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_prim_ops_fulljit.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/interface.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_ops_utils.h:23, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_prim_ops_fulljit.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1470/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_special_ops.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/register_special_ops.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1471/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/debug_info.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/debug_info.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/debug_info.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1472/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/dynamic_ir.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/ir.h:19, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/dynamic_ir.h:17, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/dynamic_ir.h:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/dynamic_ir.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1473/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/config.cpp.o [1474/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/ops/device_data.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/ops/device_data.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1475/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ops/generic.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/ts_node.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/ops/generic.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/ops/generic.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1476/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/tensor.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/tensor_aten_ops.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/tensor_aten_ops.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1477/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/CPUFallback.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/ts_autograd_functions.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/native/CPUFallback.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1478/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_interface.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/ts_backend_impl.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/ts_backend_impl.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1479/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/ts_eager_fallback.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/ts_eager_fallback.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1480/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_interface.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/ts_backend_impl.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/ts_lowering_context.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1481/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/ts_native_functions.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1482/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_node.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/tensor.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/core/debug_util.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/ts_node.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1483/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/jit.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/ts_node_lowering.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/lazy/ts_backend/ts_node_lowering.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1484/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/import_data.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/import_data.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/import_data.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/import_data.cpp:17: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1485/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/export_data.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/train/export_data.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/train/export_data.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1486/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/optim/sgd.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/train/optim/sgd.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/train/optim/sgd.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1487/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/random.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/data/samplers/base.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/train/random.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/train/random.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1488/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/sequential.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/data/samplers/base.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/train/sequential.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/train/sequential.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1489/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/flatbuffer_serializer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/flatbuffer_serializer.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/flatbuffer_serializer.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/flatbuffer_serializer.h:11: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1490/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/FunctionsManual.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/FunctionsManual.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/FunctionsManual.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1491/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/out_types.cpp.o [1492/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/TraceTypeManual.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/op_registration.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/TraceTypeManual.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/TraceTypeManual.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1493/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/VariableTypeManual.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/RedispatchFunctions.h:17, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeManual.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeUtils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/VariableTypeManual.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1494/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/jit.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/jit.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/jit.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/ir_emitter.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/jit.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1495/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/backport.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/compatibility/backport.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1496/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/backport_manager.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/compatibility/backport_manager.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/compilation_unit.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/import.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/mobile/compatibility/backport_manager.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1497/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/onnx.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/onnx.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/onnx.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1498/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/export.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/export.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1499/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export_bytecode.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/export_bytecode.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/export_bytecode.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_detail.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/backends/backend_debug_handler.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/export_bytecode.h:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/export_bytecode.cpp:26: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1500/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export_module.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/export.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/export_module.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/export_module.cpp:23: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1501/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/cpu/fused_kernel.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/cpu/fused_kernel.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/interface.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/compiler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/codegen/fuser/cpu/fused_kernel.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1502/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/module_save.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module_save.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1503/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/byte_order.cpp.o [1504/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_legacy.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/sugared_value.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/resolver.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/import_legacy.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1505/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Backend.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Backend.hpp:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Backend.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Types.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Backend.hpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1506/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/FileStore.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/FileStore.hpp:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/FileStore.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1507/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Functional.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Functional.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Types.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Backend.hpp:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/ProcessGroup.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/GroupRegistry.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Functional.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1508/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/GlooDeviceFactory.cpp.o [1509/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/GroupRegistry.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Backend.hpp:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/ProcessGroup.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/GroupRegistry.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/GroupRegistry.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Types.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Backend.hpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1510/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Ops.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Ops.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1511/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ParamCommsUtils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/ParamCommsUtils.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/ParamCommsUtils.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1512/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/PrefixStore.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/PrefixStore.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/PrefixStore.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1513/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroup.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/ProcessGroup.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Types.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Backend.hpp:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/ProcessGroup.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/ProcessGroup.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1514/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupGloo.cpp.o [1515/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupMPI.cpp.o [1516/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupWrapper.cpp.o [1517/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Store.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1518/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/TCPStore.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/TCPStore.hpp:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/TCPStore.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1519/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/TCPStoreBackend.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/TCPStore.hpp:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/TCPStoreBackend.hpp:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/TCPStoreBackend.cpp:18: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1520/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/TCPStoreLibUvBackend.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/TCPStore.hpp:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/TCPStoreLibUvBackend.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1521/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Utils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Utils.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Utils.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Types.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Utils.hpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1522/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/comm.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/comm.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/comm.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Types.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Backend.hpp:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/ProcessGroup.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/comm.hpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1523/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/debug.cpp.o [1524/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/default_comm_hooks.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Backend.hpp:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/ProcessGroup.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/default_comm_hooks.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/default_comm_hooks.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Types.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Backend.hpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1525/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/logger.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Utils.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/logger.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Types.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Utils.hpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1526/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/logging.cpp.o [1527/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/quantization/quantization.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/quantization/quantization.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/quantization/quantization.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/quantization/quantization.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1528/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/reducer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/reducer.hpp:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/reducer.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Types.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Backend.hpp:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/ProcessGroup.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/reducer.hpp:17: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1529/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/sequence_num.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/sequence_num.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1530/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/socket.cpp.o [1531/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Work.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Work.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1532/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/autograd.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/autograd.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/context/context.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/context/container.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/autograd.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/autograd.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1533/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/utils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/utils.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/context/context.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/context/container.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/utils.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1534/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/context/container.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Dict_inl.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Dict.h:397, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/context/context.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/context/container.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/context/container.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/context/context.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1535/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/context/context.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Dict_inl.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Dict.h:397, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/context/context.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/context/context.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/context/context.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1536/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/engine/dist_engine.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/CachedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/functions/accumulate_grad.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/engine/dist_engine.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/context/context.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/context/container.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/engine/dist_engine.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1537/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/functions/recvrpc_backward.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/context/context.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1538/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/functions/sendrpc_backward.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/functions/sendrpc_backward.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/functions/sendrpc_backward.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1539/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/autograd_metadata.cpp.o [1540/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_req.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_req.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_req.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_req.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1541/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_resp.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_resp.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_resp.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1542/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_req.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_req.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_req.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_req.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1543/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_resp.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_resp.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_resp.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1544/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rpc_with_autograd.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_autograd.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_autograd.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_autograd.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1545/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_req.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/profiler_kineto.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/profiler.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_req.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_req.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_req.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_req.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1546/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_resp.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/profiler_kineto.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/profiler.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_resp.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_resp.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_resp.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_resp.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1547/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rref_backward_req.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/rref_backward_req.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/rref_backward_req.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/rref_backward_req.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1548/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rref_backward_resp.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/rref_backward_resp.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/autograd/rpc_messages/rref_backward_resp.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1549/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/HashStore.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/HashStore.hpp:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/HashStore.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1550/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupRoundRobin.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Backend.hpp:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/ProcessGroup.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/ProcessGroupRoundRobin.hpp:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/ProcessGroupRoundRobin.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Types.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Backend.hpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1551/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/agent_utils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/PrefixStore.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/agent_utils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/agent_utils.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/agent_utils.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1552/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/message.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1553/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/profiler/remote_profiler_manager.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/profiler/remote_profiler_manager.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/profiler/remote_profiler_manager.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/profiler/remote_profiler_manager.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/profiler/remote_profiler_manager.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1554/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/profiler/server_process_global_profiler.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/profiler_kineto.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/profiler.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/profiler/server_process_global_profiler.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/profiler/server_process_global_profiler.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1555/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/python_call.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_command_base.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/python_call.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/python_call.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1556/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/python_remote_call.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/python_remote_call.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/python_remote_call.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/python_remote_call.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1557/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/python_resp.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_command_base.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/python_resp.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/python_resp.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1558/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/request_callback.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/request_callback.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/request_callback.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1559/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/request_callback_no_python.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/request_callback_no_python.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/request_callback_no_python.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rref_context.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/request_callback_no_python.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1560/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rpc_agent.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_agent.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1561/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rref_context.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rref_context.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rref_context.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rref_context.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1562/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rref_impl.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rref_impl.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rref_impl.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rref_context.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rref_impl.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1563/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rref_proto.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rref_proto.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rref_proto.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1564/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/script_call.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/script_call.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/script_call.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1565/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/script_remote_call.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/script_remote_call.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/script_remote_call.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1566/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/script_resp.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/script_resp.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/script_resp.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/script_resp.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1567/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/tensorpipe_agent.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/c10d/PrefixStore.hpp:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/tensorpipe_agent.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/tensorpipe_agent.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/agent_utils.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/tensorpipe_agent.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/tensorpipe_agent.cpp: In function ‘void torch::distributed::rpc::{anonymous}::makeStreamsWaitOnOthers(const std::vector&, const std::vector&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/tensorpipe_agent.cpp:146:24: warning: possibly dangling reference to a temporary [-Wdangling-reference] 146 | const c10::Stream& consumer = | ^~~~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/tensorpipe_agent.cpp:147:27: note: the temporary was destroyed at the end of the full expression ‘torch::distributed::rpc::getStreamForDevice((* & consumers), (& producer)->c10::Stream::device())’ 147 | getStreamForDevice(consumers, producer.device()); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [1568/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/tensorpipe_utils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/profiler_kineto.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/profiler.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/tensorpipe_utils.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/tensorpipe_utils.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_command_base.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1569/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/testing/faulty_tensorpipe_agent.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/testing/faulty_tensorpipe_agent.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/testing/faulty_tensorpipe_agent.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/testing/faulty_tensorpipe_agent.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1570/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/torchscript_functions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/torchscript_functions.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/custom_class.h:14, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/record_function_ops.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/torchscript_functions.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rref_context.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/torchscript_functions.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/torchscript_functions.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1571/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/types.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/types.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1572/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/utils.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/profiler_kineto.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/profiler.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/rpc_command_base.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/distributed/rpc/utils.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1573/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/cuda.cpp.o [1574/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/datasets/mnist.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/data/example.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/data/datasets/base.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/data/datasets/mnist.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/data/datasets/mnist.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1575/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/distributed.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/data/samplers/base.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/data/samplers/distributed.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/data/samplers/distributed.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1576/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/random.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/data/samplers/base.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/data/samplers/random.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/data/samplers/random.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1577/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/sequential.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/data/samplers/base.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/data/samplers/sequential.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/data/samplers/sequential.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1578/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/stream.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/data/samplers/base.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/data/samplers/stream.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/data/samplers/stream.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1579/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/enum.cpp.o [1580/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/imethod.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/imethod.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/imethod.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1581/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/serialize.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/sugared_value.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/resolver.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/serialization/pickle.h:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/script_type_parser.h:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h: In function ‘torch::jit::Expr torch::jit::pep604union_to_union(const Expr&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tree_views.h:1263:19: note: remove ‘std::move’ call [1582/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/mps.cpp.o [1583/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/init.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/init.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/init.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1584/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/module.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/module.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1585/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/_functions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/custom_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/_functions.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/_functions.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/normalization.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/_functions.h:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1586/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/activation.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/dropout.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/functional/dropout.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/functional/activation.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/activation.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1587/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/adaptive.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/adaptive.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/adaptive.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1588/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/batchnorm.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/batchnorm.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/functional/batchnorm.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/batchnorm.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1589/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/normalization.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/normalization.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/normalization.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1590/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/instancenorm.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/batchnorm.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/instancenorm.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/functional/instancenorm.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/instancenorm.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1591/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/conv.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/conv.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/functional/conv.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/conv.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1592/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/dropout.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/dropout.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/functional/dropout.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/dropout.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1593/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/distance.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/distance.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/distance.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1594/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/embedding.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/embedding.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/embedding.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1595/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/fold.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/fold.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/fold.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1596/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/linear.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/functional/linear.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/linear.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1597/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/loss.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/loss.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/loss.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1598/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/padding.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/padding.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/padding.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1599/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/pixelshuffle.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/pixelshuffle.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/pixelshuffle.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1600/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/pooling.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/pooling.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/pooling.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1601/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/rnn.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/rnn.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/rnn.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1602/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/upsampling.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/upsampling.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/upsampling.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1603/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/transformer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/init.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/transformer.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1604/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/functional.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/modules/container/functional.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/functional.h:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1605/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/activation.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/activation.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/options/activation.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1606/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/adaptive.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/adaptive.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/options/adaptive.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1607/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/batchnorm.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/batchnorm.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/options/batchnorm.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1608/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/embedding.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/embedding.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/options/embedding.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1609/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/instancenorm.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/batchnorm.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/instancenorm.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/options/instancenorm.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1610/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/normalization.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/normalization.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/options/normalization.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1611/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/conv.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/conv.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/options/conv.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1612/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/dropout.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/dropout.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/options/dropout.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1613/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/linear.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/linear.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/options/linear.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1614/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/padding.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/padding.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/options/padding.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1615/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/pooling.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/pooling.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/options/pooling.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1616/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/rnn.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/rnn.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/options/rnn.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1617/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/vision.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/vision.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/options/vision.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1618/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/transformer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/options/transformer.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/nn/options/transformer.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1619/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adagrad.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/pimpl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/optim/adagrad.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/optim/adagrad.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1620/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adam.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/optim/adam.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/optim/adam.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1621/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adamw.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/optim/adamw.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/optim/adamw.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1622/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/lbfgs.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/optim/lbfgs.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/optim/lbfgs.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1623/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/optimizer.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/TensorDataContainer.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/variable_factories.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/optim/optimizer.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/optim/optimizer.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1624/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/rmsprop.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/optim/rmsprop.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/optim/rmsprop.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1625/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/serialize.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/serialize/input-archive.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/serialize/archive.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/optim/serialize.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/optim/serialize.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1626/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/sgd.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/optim/sgd.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/optim/sgd.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1627/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/schedulers/lr_scheduler.cpp.o [1628/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/schedulers/step_lr.cpp.o [1629/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/schedulers/reduce_on_plateau_scheduler.cpp.o [1630/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize/input-archive.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/serialize/input-archive.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/serialize/input-archive.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1631/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize/output-archive.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/serialize/output-archive.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/serialize/output-archive.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1632/2497] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/xpu.cpp.o [1633/2497] Linking CXX static library lib/libcaffe2_protos.a [1634/2497] 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/libsleef.so.3 /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 [1635/2497] Building CXX object caffe2/CMakeFiles/torch.dir/__/empty.cpp.o [1636/2497] Generating /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/_C/__init__.pyi, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/_C/_VariableFunctions.pyi, /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/nn/functional.pyi [1637/2497] Generating /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/utils/data/datapipes/datapipe.pyi [1638/2497] Generating /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/version.py [1639/2497] Building CXX object caffe2/torch/lib/libshm/CMakeFiles/shm.dir/core.cpp.o [1640/2497] Linking CXX shared library lib/libtorch.so Warning: Unused direct dependencies: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/lib/libtorch_cpu.so [1641/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_0.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_functions_0.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1642/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_1.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_functions_1.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1643/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_2.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_functions_2.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1644/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_3.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_functions_3.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1645/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_4.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_functions_4.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1646/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_variable_methods.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Size.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_variable_methods.cpp:14: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/autograd_not_implemented_fallback.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/VariableType.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_variable_methods.cpp:15: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1647/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_torch_functions_0.cpp:19: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1648/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_torch_functions_1.cpp:19: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1649/2497] 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/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_torch_functions_2.cpp:19: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1650/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_nn_functions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_nn_functions.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1651/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_fft_functions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_fft_functions.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1652/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_linalg_functions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_linalg_functions.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1653/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_nested_functions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_nested_functions.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1654/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_sparse_functions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_sparse_functions.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1655/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_special_functions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/python_special_functions.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1656/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_return_types.cpp.o [1657/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_enum_tag.cpp.o [1658/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/DataLoader.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tracer.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/python_numbers.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/DataLoader.cpp:17: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1659/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Device.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/python_arg_parser.h:55, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Device.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1660/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Dtype.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/frontend/tracer.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/python_numbers.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Dtype.cpp:8: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1661/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/DynamicTypes.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/autograd_not_implemented_fallback.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/VariableType.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/DynamicTypes.cpp:9: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1662/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Exceptions.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Size.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/THP.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Exceptions.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1663/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Generator.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Generator.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/autograd_not_implemented_fallback.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/generated/VariableType.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Generator.cpp:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1664/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Layout.cpp.o [1665/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/MemoryFormat.cpp.o [1666/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/QScheme.cpp.o [1667/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Module.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Module.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/python/python_ir.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Module.cpp:66: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1668/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/PyInterpreter.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:61, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/TorchDispatchUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/PythonFallbackKernel.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/PyInterpreter.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1669/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/python_dimname.cpp.o [1670/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Size.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Size.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Size.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1671/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Storage.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Size.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/THP.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Storage.cpp:16: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1672/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/StorageMethods.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Size.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/THP.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/StorageMethods.cpp:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1673/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/StorageSharing.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Size.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/THP.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/StorageSharing.cpp:12: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1674/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/Stream.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Size.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/THP.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Stream.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1675/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/TypeInfo.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/TypeInfo.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/TypeInfo.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1676/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/api/src/python/init.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/List.h:490, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/python.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/src/python/init.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1677/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/functions/init.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/CachedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/functions/accumulate_grad.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/functions/init.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1678/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/init.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/autocast_mode.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/init.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/autocast_mode.h:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/init.cpp:28: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call [1679/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/profiler_python.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/profiler_python.cpp:26: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1680/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_anomaly_mode.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_cpp_function.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_anomaly_mode.cpp:5: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1681/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_saved_variable_hooks.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_saved_variable_hooks.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_saved_variable_hooks.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1682/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_cpp_function.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_cpp_function.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_cpp_function.cpp:2: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1683/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_engine.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/engine.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_engine.h:5, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_engine.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1684/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_function.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/custom_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_function.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_function.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/functorch/DynamicLayer.h:13, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_function.cpp:13: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_function.cpp:30: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call [1685/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_hook.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/Size.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/THP.h:20, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_hook.cpp:7: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1686/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_legacy_variable.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_legacy_variable.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1687/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_nested_functions_manual.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/python_arg_parser.h:55, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/utils/nested.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_nested_functions_manual.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/library.h:63, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/autograd_not_implemented_fallback.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/autograd.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/all.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include/torch/torch.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_nested_functions_manual.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1688/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_torch_functions_manual.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_torch_functions_manual.cpp:4: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/FunctionalTensorWrapper.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_torch_functions_manual.cpp:23: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1689/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_variable.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/python/pybind_utils.h:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable.cpp:25: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call [1690/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/python_variable_indexing.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable_indexing.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable_indexing.cpp:1: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/python_variable_indexing.cpp:10: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [1691/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/dynamo/python_compiled_autograd.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/ThreadLocalState.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/autograd/engine.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/dynamo/python_compiled_autograd.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/python/pybind_utils.h:16, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/dynamo/python_compiled_autograd.cpp:6: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/python/pybind_utils.h: In function ‘pybind11::object torch::jit::createPyObjectForStack(Stack&&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/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/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/jit/python/pybind_utils.h:968:19: note: remove ‘std::move’ call [1692/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/dynamo/cache_entry.cpp.o [1693/2497] Building CXX object caffe2/torch/CMakeFiles/torch_python.dir/csrc/dynamo/cpp_shim.cpp.o In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef.h:631, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/ivalue.h:1555, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/dynamo/cpp_shim.cpp:3: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [1694/2497] Building C object caffe2/torch/CMakeFiles/torch_python.dir/csrc/dynamo/cpython_defs.c.o FAILED: caffe2/torch/CMakeFiles/torch_python.dir/csrc/dynamo/cpython_defs.c.o /usr/bin/gcc -DAT_PER_OPERATOR_HEADERS -DBUILD_CAFFE2 -DFLASHATTENTION_DISABLE_ALIBI -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DTHP_BUILD_MAIN_LIB -DUSE_C10D -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_NUMPY -DUSE_RPC -DUSE_TENSORPIPE -DUSE_VALGRIND -D_FILE_OFFSET_BITS=64 -Dtorch_python_EXPORTS -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/aten/src -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/aten/src -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1 -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/caffe2/contrib/aten -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/.. -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/../aten/src -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/../aten/src/TH -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/caffe2/aten/src -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/third_party -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/build/third_party/onnx -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/../third_party/valgrind-headers -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/../third_party/gloo -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/../third_party/onnx -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/../third_party/flatbuffers/include -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/../third_party/kineto/libkineto/include -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api/include -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/lib -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/lib/libshm -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/api -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/c10/.. -I/builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/lib/libshm/../../../torch/lib -isystem /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/cmake/../third_party/tensorpipe/third_party/libuv/include -isystem /usr/include/opencv4 -isystem /usr/include/eigen3 -isystem /usr/include/python3.13 -isystem /usr/lib64/python3.13/site-packages/numpy/core/include -isystem /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/cmake/../third_party/pybind11/include -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -DNDEBUG -std=gnu11 -fPIC -DTORCH_USE_LIBUV -D__NEON__ -fno-strict-aliasing -Wno-strict-aliasing -MD -MT caffe2/torch/CMakeFiles/torch_python.dir/csrc/dynamo/cpython_defs.c.o -MF caffe2/torch/CMakeFiles/torch_python.dir/csrc/dynamo/cpython_defs.c.o.d -o caffe2/torch/CMakeFiles/torch_python.dir/csrc/dynamo/cpython_defs.c.o -c /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/dynamo/cpython_defs.c In file included from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/dynamo/cpython_defs.h:11, from /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/dynamo/cpython_defs.c:1: /usr/include/python3.13/internal/pycore_frame.h:8:4: error: #error "this header requires Py_BUILD_CORE define" 8 | # error "this header requires Py_BUILD_CORE define" | ^~~~~ In file included from /usr/include/python3.13/internal/pycore_frame.h:13: /usr/include/python3.13/internal/pycore_code.h:8:4: error: #error "this header requires Py_BUILD_CORE define" 8 | # error "this header requires Py_BUILD_CORE define" | ^~~~~ In file included from /usr/include/python3.13/internal/pycore_code.h:11: /usr/include/python3.13/internal/pycore_lock.h:13:4: error: #error "this header requires Py_BUILD_CORE define" 13 | # error "this header requires Py_BUILD_CORE define" | ^~~~~ In file included from /usr/include/python3.13/internal/pycore_code.h:474: /usr/include/python3.13/internal/pycore_backoff.h:9:4: error: #error "this header requires Py_BUILD_CORE define" 9 | # error "this header requires Py_BUILD_CORE define" | ^~~~~ /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1/torch/csrc/dynamo/cpython_defs.c:30:10: fatal error: internal/pycore_opcode.h: No such file or directory 30 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. 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/python-torch-2.3.1-build/pytorch-v2.3.1/torch -DCMAKE_PREFIX_PATH=/usr/lib/python3.13/site-packages -DNUMPY_INCLUDE_DIR=/usr/lib64/python3.13/site-packages/numpy/core/include -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPYTHON_INCLUDE_DIR=/usr/include/python3.13 -DPYTHON_LIBRARY=/usr/lib64/libpython3.13.so.1.0 -DTORCH_BUILD_VERSION=2.3.0a0+gitUnknown -DUSE_CUDA=OFF -DUSE_DISTRIBUTED=ON -DUSE_FBGEMM=OFF -DUSE_FLASH_ATTENTION=OFF -DUSE_GLOO=OFF -DUSE_GOLD_LINKER=OFF -DUSE_ITT=OFF -DUSE_KINETO=OFF -DUSE_LITE_INTERPRETER_PROFILER=OFF -DUSE_LITE_PROTO=OFF -DUSE_MAGMA=OFF -DUSE_MKLDNN=OFF -DUSE_MPI=ON -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=ON -DUSE_XNNPACK=ON /builddir/build/BUILD/python-torch-2.3.1-build/pytorch-v2.3.1 cmake3 --build . --target install --config RelWithDebInfo -- -j 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.fzfMy5 (%build) Bad exit status from /var/tmp/rpm-tmp.fzfMy5 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 8240f574bd2743c498ce72f41e6074de -D /var/lib/mock/f41-build-51561648-6168230/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.otdgu2ci:/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;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --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 8240f574bd2743c498ce72f41e6074de -D /var/lib/mock/f41-build-51561648-6168230/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.otdgu2ci:/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;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-torch.spec'