Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reconcile profiling #64351

Closed

Conversation

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Sep 1, 2021

🔗 Helpful links

💊 CI failures summary and remediations

As of commit 5913f01 (more details on the Dr. CI page):


  • 18/18 failures possibly* introduced in this PR
    • 1/18 non-scanned failure(s)

🕵️ 15 new failures recognized by patterns

The following CI failures do not appear to be due to upstream breakages:

See GitHub Actions build linux-bionic-py3.8-gcc9-coverage / build (1/15)

Step: "Build PyTorch" (full log | diagnosis details | 🔁 rerun)

2021-09-01T08:43:40.8409020Z rm: cannot remove ...kins/sccache_error.log': No such file or directory
2021-09-01T08:43:40.8363556Z ++++ extract_trap_cmd
2021-09-01T08:43:40.8364199Z ++++ printf '%s\n' ''
2021-09-01T08:43:40.8364622Z +++ printf '%s\n' cleanup
2021-09-01T08:43:40.8365760Z ++ trap -- '
2021-09-01T08:43:40.8366439Z cleanup' EXIT
2021-09-01T08:43:40.8368501Z ++ [[ linux-bionic-py3.8-gcc9-coverage != *win-* ]]
2021-09-01T08:43:40.8369049Z ++ which sccache
2021-09-01T08:43:40.8377493Z ++ sccache --stop-server
2021-09-01T08:43:40.8401698Z ++ true
2021-09-01T08:43:40.8402125Z ++ rm /var/lib/jenkins/sccache_error.log
2021-09-01T08:43:40.8409020Z rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory
2021-09-01T08:43:40.8410062Z ++ true
2021-09-01T08:43:40.8410713Z ++ [[ -n 1 ]]
2021-09-01T08:43:40.8411577Z ++ echo 'Skipping sccache server initialization, setting environment variables'
2021-09-01T08:43:40.8412828Z Skipping sccache server initialization, setting environment variables
2021-09-01T08:43:40.8413567Z ++ export SCCACHE_IDLE_TIMEOUT=1200
2021-09-01T08:43:40.8413987Z ++ SCCACHE_IDLE_TIMEOUT=1200
2021-09-01T08:43:40.8414479Z ++ export SCCACHE_ERROR_LOG=/var/lib/jenkins/sccache_error.log
2021-09-01T08:43:40.8415051Z ++ SCCACHE_ERROR_LOG=/var/lib/jenkins/sccache_error.log
2021-09-01T08:43:40.8415968Z ++ export RUST_LOG=sccache::server=error
2021-09-01T08:43:40.8416408Z ++ RUST_LOG=sccache::server=error

See CircleCI build pytorch_linux_xenial_py3_clang5_mobile_build (2/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Sep 01 08:48:06 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory
Sep 01 08:48:06 ++++ extract_trap_cmd
Sep 01 08:48:06 ++++ printf '%s\n' ''
Sep 01 08:48:06 +++ printf '%s\n' cleanup
Sep 01 08:48:06 ++ trap -- '
Sep 01 08:48:06 cleanup' EXIT
Sep 01 08:48:06 ++ [[ pytorch-linux-xenial-py3-clang5-mobile-build != *win-* ]]
Sep 01 08:48:06 ++ which sccache
Sep 01 08:48:06 ++ sccache --stop-server
Sep 01 08:48:06 ++ true
Sep 01 08:48:06 ++ rm /var/lib/jenkins/sccache_error.log
Sep 01 08:48:06 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory
Sep 01 08:48:06 ++ true
Sep 01 08:48:06 ++ [[ -n '' ]]
Sep 01 08:48:06 ++ [[ pytorch-linux-xenial-py3-clang5-mobile-build == *rocm* ]]
Sep 01 08:48:06 ++ SCCACHE_ERROR_LOG=/var/lib/jenkins/sccache_error.log
Sep 01 08:48:06 ++ SCCACHE_IDLE_TIMEOUT=1200
Sep 01 08:48:06 ++ RUST_LOG=sccache::server=error
Sep 01 08:48:06 ++ sccache --start-server
Sep 01 08:48:06 sccache: Starting the server...
Sep 01 08:48:06 ++ sccache --zero-stats
Sep 01 08:48:06 Compile requests                      0

See CircleCI build pytorch_linux_xenial_py3_clang5_mobile_custom_build_dynamic (3/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Sep 01 09:13:02 ../../../torch/csrc/jit/passes/...rror: no template named 'stack' in namespace 'std'
Sep 01 09:13:02 In file included from /var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/MemoryPlanningAllocator.cpp:1:
Sep 01 09:13:02 ../../../torch/csrc/jit/passes/memory_planning.h:197:48: warning: private field 'allocs_' is not used [-Wunused-private-field]
Sep 01 09:13:02   mutable std::stack<std::pair<size_t, void*>> allocs_;
Sep 01 09:13:02                                                ^
Sep 01 09:13:02 1 warning and 3 errors generated.
Sep 01 09:13:02 [2929/3045] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/memory_planning/greedy_by_breadth.cpp.o
Sep 01 09:13:02 FAILED: caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/memory_planning/greedy_by_breadth.cpp.o 
Sep 01 09:13:02 /opt/cache/bin/sccache /usr/lib/llvm-5.0/bin/clang++   -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DFXDIV_USE_INLINE_ASSEMBLY=0 -DNNP_CONVOLUTION_ONLY=0 -DNNP_INFERENCE_ONLY=0 -Iaten/src -I../../../aten/src -I. -I../../../ -isystem third_party/gloo -isystem ../../../cmake/../third_party/gloo -isystem ../../../third_party/XNNPACK/include -isystem ../../../cmake/../third_party/eigen -isystem ../../../cmake/../third_party/pybind11/include -I../../../caffe2/aten/src/TH -Icaffe2/aten/src/TH -Icaffe2/aten/src -Icaffe2/../aten/src -Icaffe2/../aten/src/ATen -I../../../torch/csrc -I../../../third_party/miniz-2.0.8 -I../../../torch/csrc/distributed -I../../../aten/src/TH -I../../../aten/../third_party/catch/single_include -I../../../aten/src/ATen/.. -Icaffe2/aten/src/ATen -isystem ../../../caffe2 -I../../../third_party/FXdiv/include -I../../../c10/.. -I../../../third_party/pthreadpool/include -I../../../third_party/cpuinfo/include -I../../../aten/src/ATen/native/quantized/cpu/qnnpack/include -I../../../aten/src/ATen/native/quantized/cpu/qnnpack/src -I../../../third_party/cpuinfo/deps/clog/include -I../../../third_party/NNPACK/include -I../../../third_party/FP16/include -I../../../third_party/fmt/include -S -emit-llvm -DSTRIP_ERROR_MESSAGES -DC10_MOBILE -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -Wno-invalid-partial-specialization -Wno-typedef-redefinition -Wno-unknown-warning-option -Wno-unused-private-field -Wno-inconsistent-missing-override -Wno-aligned-allocation-unavailable -Wno-c++14-extensions -Wno-constexpr-not-const -Wno-missing-braces -Qunused-arguments -fcolor-diagnostics -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -O3 -DNDEBUG -fPIC   -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -std=gnu++14 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/memory_planning/greedy_by_breadth.cpp.o -MF caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/memory_planning/greedy_by_breadth.cpp.o.d -o caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/memory_planning/greedy_by_breadth.cpp.o -c /var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/greedy_by_breadth.cpp
Sep 01 09:13:02 In file included from /var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/greedy_by_breadth.cpp:1:
Sep 01 09:13:02 In file included from ../../../torch/csrc/jit/passes/memory_planning/greedy_by_breadth.h:3:
Sep 01 09:13:02 ../../../torch/csrc/jit/passes/memory_planning.h:197:16: error: no template named 'stack' in namespace 'std'
Sep 01 09:13:02   mutable std::stack<std::pair<size_t, void*>> allocs_;
Sep 01 09:13:02           ~~~~~^
Sep 01 09:13:02 1 error generated.
Sep 01 09:13:02 ninja: build stopped: subcommand failed.
Sep 01 09:13:02 =================== sccache compilation log ===================
Sep 01 09:13:02 + sccache_epilogue
Sep 01 09:13:02 + echo '=================== sccache compilation log ==================='
Sep 01 09:13:02 + python /var/lib/jenkins/workspace/.jenkins/pytorch/print_sccache_log.py /var/lib/jenkins/sccache_error.log
Sep 01 09:13:02 ERROR 2021-09-01T09:12:57Z: sccache::server: Compilation failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "In file included from /var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:1:\n\u{1b}[1m../../../torch/csrc/jit/passes/memory_planning.h:197:16: \u{1b}[0m\u{1b}[0;1;31merror: \u{1b}[0m\u{1b}[1mno template named \'stack\' in namespace \'std\'\u{1b}[0m\n  mutable std::stack<std::pair<size_t, void*>> allocs_;\n\u{1b}[0;1;32m          ~~~~~^\n\u{1b}[0m\u{1b}[1m/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:20:41: \u{1b}[0m\u{1b}[0;1;31merror: \u{1b}[0m\u{1b}[1mcannot initialize a parameter of type \'long long *\' with an rvalue of type \'int64_t *\' (aka \'long *\')\u{1b}[0m\n  if (__builtin_saddll_overflow(l1, l2, &test)) {\n\u{1b}[0;1;32m                                        ^~~~~\n\u{1b}[0m\u{1b}[1m/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:23:56: \u{1b}[0m\u{1b}[0;1;31merror: \u{1b}[0m\u{1b}[1mcannot initialize a parameter of type \'long long *\' with an rvalue of type \'int64_t *\' (aka \'long *\')\u{1b}[0m\n  } else if (__builtin_ssubll_overflow(outer, l1 + l2, &test)) {\n\u{1b}[0;1;32m                                                       ^~~~~\n\u{1b}[0mIn file included from /var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:1:\nIn file included from ../../../torch/csrc/jit/passes/memory_planning.h:3:\nIn file included from ../../../torch/csrc/jit/ir/ir.h:3:\nIn file included from ../../../torch/csrc/jit/ir/attributes.h:2:\nIn file included from ../../../aten/src/ATen/ATen.h:7:\nIn file included from ../../../c10/core/Allocator.h:4:\nIn file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/memory:63:\nIn file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/allocator.h:46:\nIn file included from /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/x86_64-linux-gnu/c++/5.4.0/bits/c++allocator.h:33:\n\u{1b}[1m/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/ext/new_allocator.h:120:23: \u{1b}[0m\u{1b}[0;1;31merror: \u{1b}[0m\u{1b}[1mno matching constructor for initialization of \'std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>\'\u{1b}[0m\n        { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }\n\u{1b}[0;1;32m                             ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\u{1b}[0m\u{1b}[1m/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/alloc_traits.h:530:8: \u{1b}[0m\u{1b}[0;1;30mnote: \u{1b}[0min instantiation of function template specialization \'__gnu_cxx::new_allocator<std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId> >::construct<std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>, std::tuple<torch::jit::LiveRange, torch::jit::FrameNodeId> >\' requested here\u{1b}[0m\n        { __a.construct(__p, std::forward<_Args>(__args)...); }\n\u{1b}[0;1;32m              ^\n\u{1b}[0m\u{1b}[1m/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/vector.tcc:96:21: \u{1b}[0m\u{1b}[0;1;30mnote: \u{1b}[0min instantiation of function template specialization \'std::allocator_traits<std::allocator<std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId> > >::construct<std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>, std::tuple<torch::jit::LiveRange, torch::jit::FrameNodeId> >\' requested here\u{1b}[0m\n            _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish,\n\u{1b}[0;1;32m                           ^\n\u{1b}[0m\u{1b}[1m/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:422:30: \u{1b}[0m\u{1b}[0;1;30mnote: \u{1b}[0min instantiation of function template specialization \'std::vector<std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>, std::allocator<std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId> > >::emplace_back<std::tuple<torch::jit::LiveRange, torch::jit::FrameNodeId> >\' requested here\u{1b}[0m\n      live_range_node_header.emplace_back(\n\u{1b}[0;1;32m                             ^\n\u{1b}[0m\u{1b}[1m/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_pair.h:127:17: \u{1b}[0m\u{1b}[0;1;30mnote: \u{1b}[0mcandidate constructor not viable: no known conversion from \'std::tuple<torch::jit::LiveRange, torch::jit::FrameNodeId>\' to \'const std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>\' for 1st argument\u{1b}[0m\n      constexpr pair(const pair&) = default;\n\u{1b}[0;1;32m                ^\n\u{1b}[0m\u{1b}[1m/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/stl_pair.h:128:17: \u{1b}[0m\u{1b}[0;1;30mnote: \u{1b}[0mcandidate constructor not viable: no known conversion from \'std::tuple<torch::jit::LiveRange, torch::jit::FrameNodeId>\' to \'std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>\' for 1st argument\u{1b}[0m\n      constexpr pair(pair&&) = default;\n\u{1b}[0;1;32m                ^\n\u{1b}[0m\u{1b}[1m/usr/
Sep 01 09:13:02 

See CircleCI build pytorch_linux_bionic_cuda10_2_cudnn7_py3_9_gcc7_build (4/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Sep 01 08:47:34 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory
Sep 01 08:47:34 ++++ extract_trap_cmd
Sep 01 08:47:34 ++++ printf '%s\n' ''
Sep 01 08:47:34 +++ printf '%s\n' cleanup
Sep 01 08:47:34 ++ trap -- '
Sep 01 08:47:34 cleanup' EXIT
Sep 01 08:47:34 ++ [[ pytorch-linux-bionic-cuda10.2-cudnn7-py3.9-gcc7-build != *win-* ]]
Sep 01 08:47:34 ++ which sccache
Sep 01 08:47:34 ++ sccache --stop-server
Sep 01 08:47:34 ++ true
Sep 01 08:47:34 ++ rm /var/lib/jenkins/sccache_error.log
Sep 01 08:47:34 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory
Sep 01 08:47:34 ++ true
Sep 01 08:47:34 ++ [[ -n '' ]]
Sep 01 08:47:34 ++ [[ pytorch-linux-bionic-cuda10.2-cudnn7-py3.9-gcc7-build == *rocm* ]]
Sep 01 08:47:34 ++ SCCACHE_ERROR_LOG=/var/lib/jenkins/sccache_error.log
Sep 01 08:47:34 ++ SCCACHE_IDLE_TIMEOUT=1200
Sep 01 08:47:34 ++ RUST_LOG=sccache::server=error
Sep 01 08:47:34 ++ sccache --start-server
Sep 01 08:47:34 sccache: Starting the server...
Sep 01 08:47:34 ++ sccache --zero-stats
Sep 01 08:47:34 Compile requests                      0

See CircleCI build pytorch_macos_10_13_py3_test (5/15)

Step: "Test" (full log | diagnosis details | 🔁 rerun)

Sep 01 10:50:12 AssertionError: False is not true
Sep 01 10:50:12 Checks that there's no memory leak when using profiler with CUDA ... skip (0.002s)
Sep 01 10:50:12 
Sep 01 10:50:12 ======================================================================
Sep 01 10:50:12 FAIL [0.112s]: test_memory_profiler (__main__.TestProfiler)
Sep 01 10:50:12 ----------------------------------------------------------------------
Sep 01 10:50:12 Traceback (most recent call last):
Sep 01 10:50:12   File "test_profiler.py", line 223, in test_memory_profiler
Sep 01 10:50:12     "test_user_scope_dealloc",
Sep 01 10:50:12   File "test_profiler.py", line 198, in check_metrics
Sep 01 10:50:12     self.assertTrue(stat_metrics[alloc_fn] > 0)
Sep 01 10:50:12 AssertionError: False is not true
Sep 01 10:50:12 
Sep 01 10:50:12 ----------------------------------------------------------------------
Sep 01 10:50:12 Ran 12 tests in 0.641s
Sep 01 10:50:12 
Sep 01 10:50:12 FAILED (failures=1, skipped=2)
Sep 01 10:50:12 
Sep 01 10:50:12 Generating XML reports...
Sep 01 10:50:12 Generated XML report: test-reports/dist-gloo/test_profiler/TEST-TestProfiler-20210901105011.xml
Sep 01 10:50:12 Generated XML report: test-reports/dist-gloo/test_profiler/TEST-TestProfilerCUDA-20210901105011.xml
Sep 01 10:50:12 Traceback (most recent call last):

See CircleCI build pytorch_vulkan_linux_bionic_py3_6_clang9_build (6/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Sep 01 08:48:30 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory
Sep 01 08:48:30 ++++ extract_trap_cmd
Sep 01 08:48:30 ++++ printf '%s\n' ''
Sep 01 08:48:30 +++ printf '%s\n' cleanup
Sep 01 08:48:30 ++ trap -- '
Sep 01 08:48:30 cleanup' EXIT
Sep 01 08:48:30 ++ [[ pytorch-vulkan-linux-bionic-py3.6-clang9-build != *win-* ]]
Sep 01 08:48:30 ++ which sccache
Sep 01 08:48:30 ++ sccache --stop-server
Sep 01 08:48:30 ++ true
Sep 01 08:48:30 ++ rm /var/lib/jenkins/sccache_error.log
Sep 01 08:48:30 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory
Sep 01 08:48:30 ++ true
Sep 01 08:48:30 ++ [[ -n '' ]]
Sep 01 08:48:30 ++ [[ pytorch-vulkan-linux-bionic-py3.6-clang9-build == *rocm* ]]
Sep 01 08:48:30 ++ SCCACHE_ERROR_LOG=/var/lib/jenkins/sccache_error.log
Sep 01 08:48:30 ++ SCCACHE_IDLE_TIMEOUT=1200
Sep 01 08:48:30 ++ RUST_LOG=sccache::server=error
Sep 01 08:48:30 ++ sccache --start-server
Sep 01 08:48:30 sccache: Starting the server...
Sep 01 08:48:30 ++ sccache --zero-stats
Sep 01 08:48:30 Compile requests                      0

See CircleCI build pytorch_xla_linux_bionic_py3_6_clang9_build (7/15)

Step: "(Optional) Merge target branch" (full log | diagnosis details | 🔁 rerun)

Automatic merge failed; fix conflicts and then commit the result.
CONFLICT (add/add): Merge conflict in .circleci/cimodel/data/windows_build_definitions.py
Auto-merging .circleci/cimodel/data/windows_build_definitions.py
CONFLICT (add/add): Merge conflict in .circleci/cimodel/data/simple/nightly_ios.py
Auto-merging .circleci/cimodel/data/simple/nightly_ios.py
CONFLICT (add/add): Merge conflict in .circleci/cimodel/data/pytorch_build_definitions.py
Auto-merging .circleci/cimodel/data/pytorch_build_definitions.py
CONFLICT (add/add): Merge conflict in .circleci/cimodel/data/pytorch_build_data.py
Auto-merging .circleci/cimodel/data/pytorch_build_data.py
CONFLICT (add/add): Merge conflict in .bazelrc
Auto-merging .bazelrc
Automatic merge failed; fix conflicts and then commit the result.


Exited with code exit status 1

See CircleCI build pytorch_linux_xenial_cuda11_1_cudnn8_py3_gcc7_build (8/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Sep 01 09:39:51 ERROR 2021-09-01T08:56:49Z: scc...eof ((socklen_t)))\n ^\n" }
Sep 01 09:39:51 ERROR 2021-09-01T08:56:42Z: sccache::server: Compilation failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "conftest.c: In function \'main\':\nconftest.c:332:2: error: \'struct sockaddr\' has no member named \'sa_len\'\n x.sa_len = 0;\n  ^\n" }
Sep 01 09:39:51 
Sep 01 09:39:51 ERROR 2021-09-01T08:56:45Z: sccache::server: Compilation failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "conftest.c: In function \'main\':\nconftest.c:366:10: error: \'RTLD_MEMBER\' undeclared (first use in this function); did you mean \'RTLD_NEXT\'?\n   (void) RTLD_MEMBER;\n          ^~~~~~~~~~~\n          RTLD_NEXT\nconftest.c:366:10: note: each undeclared identifier is reported only once for each function it appears in\n" }
Sep 01 09:39:51 
Sep 01 09:39:51 ERROR 2021-09-01T08:56:45Z: sccache::server: Compilation failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "conftest.c:361:9: error: unknown type name \'not\'\n         not a universal capable compiler\n         ^~~\nconftest.c:361:15: error: expected \'=\', \',\', \';\', \'asm\' or \'__attribute__\' before \'universal\'\n         not a universal capable compiler\n               ^~~~~~~~~\nconftest.c:361:15: error: unknown type name \'universal\'\n" }
Sep 01 09:39:51 
Sep 01 09:39:51 ERROR 2021-09-01T08:56:46Z: sccache::server: Compilation failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "conftest.c: In function \'main\':\nconftest.c:367:4: error: unknown type name \'not\'; did you mean \'ino_t\'?\n    not big endian\n    ^~~\n    ino_t\nconftest.c:367:12: error: expected \'=\', \',\', \';\', \'asm\' or \'__attribute__\' before \'endian\'\n    not big endian\n            ^~~~~~\n" }
Sep 01 09:39:51 
Sep 01 09:39:51 ERROR 2021-09-01T08:56:47Z: sccache::server: Compilation failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "conftest.c: In function \'main\':\nconftest.c:378:4: error: \'struct stat\' has no member named \'st_mtimespec\'; did you mean \'st_mtim\'?\n st.st_mtimespec.tv_nsec = 1;\n    ^~~~~~~~~~~~\n    st_mtim\n" }
Sep 01 09:39:51 
Sep 01 09:39:51 ERROR 2021-09-01T08:56:49Z: sccache::server: Compilation failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "conftest.c: In function \'main\':\nconftest.c:402:24: error: expected expression before \')\' token\n if (sizeof ((socklen_t)))\n                        ^\n" }
Sep 01 09:39:51 
Sep 01 09:39:51 ERROR 2021-09-01T09:39:46Z: sccache::server: Compilation failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "In file included from \u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/greedy_by_breadth.h:3:0\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/greedy_by_breadth.cpp:1\u{1b}[m\u{1b}[K:\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.h:197:16:\u{1b}[m\u{1b}[K \u{1b}[01;31m\u{1b}[Kerror: \u{1b}[m\u{1b}[K\'\u{1b}[01m\u{1b}[Kstack\u{1b}[m\u{1b}[K\' in namespace \'\u{1b}[01m\u{1b}[Kstd\u{1b}[m\u{1b}[K\' does not name a template type\n   mutable std::\u{1b}[01;31m\u{1b}[Kstack\u{1b}[m\u{1b}[K<std::pair<size_t, void*>> allocs_;\n                \u{1b}[01;31m\u{1b}[K^~~~~\u{1b}[m\u{1b}[K\n" }
Sep 01 09:39:51 
Sep 01 09:39:51 ERROR 2021-09-01T09:39:48Z: sccache::server: Compilation failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "In file included from \u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/MemoryPlanningAllocator.cpp:1:0\u{1b}[m\u{1b}[K:\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.h:197:16:\u{1b}[m\u{1b}[K \u{1b}[01;31m\u{1b}[Kerror: \u{1b}[m\u{1b}[K\'\u{1b}[01m\u{1b}[Kstack\u{1b}[m\u{1b}[K\' in namespace \'\u{1b}[01m\u{1b}[Kstd\u{1b}[m\u{1b}[K\' does not name a template type\n   mutable std::\u{1b}[01;31m\u{1b}[Kstack\u{1b}[m\u{1b}[K<std::pair<size_t, void*>> allocs_;\n                \u{1b}[01;31m\u{1b}[K^~~~~\u{1b}[m\u{1b}[K\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/MemoryPlanningAllocator.cpp:\u{1b}[m\u{1b}[K In member function \'\u{1b}[01m\u{1b}[Kvirtual c10::DataPtr c10::MemoryPlanningAllocator::allocate(size_t) const\u{1b}[m\u{1b}[K\':\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/MemoryPlanningAllocator.cpp:29:16:\u{1b}[m\u{1b}[K \u{1b}[01;31m\u{1b}[Kerror: \u{1b}[m\u{1b}[K\'\u{1b}[01m\u{1b}[Kallocs_\u{1b}[m\u{1b}[K\' was not declared in this scope\n   auto alloc = \u{1b}[01;31m\u{1b}[Kallocs_\u{1b}[m\u{1b}[K.top();\n                \u{1b}[01;31m\u{1b}[K^~~~~~~\u{1b}[m\u{1b}[K\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/MemoryPlanningAllocator.cpp:29:16:\u{1b}[m\u{1b}[K \u{1b}[01;36m\u{1b}[Knote: \u{1b}[m\u{1b}[Ksuggested alternative: \'\u{1b}[01m\u{1b}[Kalloca\u{1b}[m\u{1b}[K\'\n   auto alloc = \u{1b}[01;36m\u{1b}[Kallocs_\u{1b}[m\u{1b}[K.top();\n                \u{1b}[01;36m\u{1b}[K^~~~~~~\u{1b}[m\u{1b}[K\n                \u{1b}[32m\u{1b}[Kalloca\u{1b}[m\u{1b}[K\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/MemoryPlanningAllocator.cpp:34:59:\u{1b}[m\u{1b}[K \u{1b}[01;31m\u{1b}[Kerror: \u{1b}[m\u{1b}[Kcould not convert \'\u{1b}[01m\u{1b}[K{data, data, c10::DoNothing, c10::Device(((c10::DeviceType)((const c10::MemoryPlanningAllocator*)this)->c10::MemoryPlanningAllocator::device_type_), -1)}\u{1b}[m\u{1b}[K\' from \'\u{1b}[01m\u{1b}[K<brace-enclosed initializer list>\u{1b}[m\u{1b}[K\' to \'\u{1b}[01m\u{1b}[Kc10::DataPtr\u{1b}[m\u{1b}[K\'\n   return {data, data, &DoNothing, at::Device(device_type_)\u{1b}[01;31m\u{1b}[K}\u{1b}[m\u{1b}[K;\n                                                           \u{1b}[01;31m\u{1b}[K^\u{1b}[m\u{1b}[K\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/MemoryPlanningAllocator.cpp:\u{1b}[m\u{1b}[K In member function \'\u{1b}[01m\u{1b}[Kvoid c10::MemoryPlanningAllocator::push_allocation(c10::Storage, size_t, size_t, c10::DeviceType)\u{1b}[m\u{1b}[K\':\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/MemoryPlanningAllocator.cpp:49:3:\u{1b}[m\u{1b}[K \u{1b}[01;31m\u{1b}[Kerror: \u{1b}[m\u{1b}[K\'\u{1b}[01m\u{1b}[Kallocs_\u{1b}[m\u{1b}[K\' was not declared in this scope\n   \u{1b}[01;31m\u{1b}[Kallocs_\u{1b}[m\u{1b}[K.push(std::make_pair(size, src));\n   \u{1b}[01;31m\u{1b}[K^~~~~~~\u{1b}[m\u{1b}[K\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/MemoryPlanningAllocator.cpp:49:3:\u{1b}[m\u{1b}[K \u{1b}[01;36m\u{1b}[Knote: \u{1b}[m\u{1b}[Ksuggested alternative: \'\u{1b}[01m\u{1b}[Kalloca\u{1b}[m\u{1b}[K\'\n   \u{1b}[01;36m\u{1b}[Kallocs_\u{1b}[m\u{1b}[K.push(std::make_pair(size, src));\n   \u{1b}[01;36m\u{1b}[K^~~~~~~\u{1b}[m\u{1b}[K\n   \u{1b}[32m\u{1b}[Kalloca\u{1b}[m\u{1b}[K\n" }
Sep 01 09:39:51 
Sep 01 09:39:51 ERROR 2021-09-01T09:39:50Z: sccache::server: Compilation failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "In file included from \u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:1:0\u{1b}[m\u{1b}[K:\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.h:197:16:\u{1b}[m\u{1b}[K \u{1b}[01;31m\u{1b}[Kerror: \u{1b}[m\u{1b}[K\'\u{1b}[01m\u{1b}[Kstack\u{1b}[m\u{1b}[K\' in namespace \'\u{1b}[01m\u{1b}[Kstd\u{1b}[m\u{1b}[K\' does not name a template type\n   mutable std::\u{1b}[01;31m\u{1b}[Kstack\u{1b}[m\u{1b}[K<std::pair<size_t, void*>> allocs_;\n                \u{1b}[01;31m\u{1b}[K^~~~~\u{1b}[m\u{1b}[K\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:\u{1b}[m\u{1b}[K In function \'\u{1b}[01m\u{1b}[Kint torch::jit::intersectArea(int64_t, int64_t, int64_t, int64_t)\u{1b}[m\u{1b}[K\':\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:20:41:\u{1b}[m\u{1b}[K \u{1b}[01;31m\u{1b}[Kerror: \u{1b}[m\u{1b}[Kinvalid conversion from \'\u{1b}[01m\u{1b}[Kint64_t* {aka long int*}\u{1b}[m\u{1b}[K\' to \'\u{1b}[01m\u{1b}[Klong long int*\u{1b}[m\u{1b}[K\' [\u{1b}[01;31m\u{1b}[K-fpermissive\u{1b}[m\u{1b}[K]\n   if (__builtin_saddll_overflow(l1, l2, \u{1b}[01;31m\u{1b}[K&test\u{1b}[m\u{1b}[K)) {\n                                         \u{1b}[01;31m\u{1b}[K^~~~~\u{1b}[m\u{1b}[K\n\u{1b}[01m\u{1b}[K<built-in>:\u{1b}[m\u{1b}[K \u{1b}[01;36m\u{1b}[Knote: \u{1b}[m\u{1b}[K  initializing argument 3 of \'\u{1b}[01m\u{1b}[Kbool __builtin_saddll_overflow(long long int, long long int, long long int*)\u{1b}[m\u{1b}[K\'\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:23:56:\u{1b}[m\u{1b}[K \u{1b}[01;31m\u{1b}[Kerror: \u{1b}[m\u{1b}[Kinvalid conversion from \'\u{1b}[01m\u{1b}[Kint64_t* {aka long int*}\u{1b}[m\u{1b}[K\' to \'\u{1b}[01m\u{1b}[Klong long int*\u{1b}[m\u{1b}[K\' [\u{1b}[01;31m\u{1b}[K-fpermissive\u{1b}[m\u{1b}[K]\n   } else if (__builtin_ssubll_overflow(outer, l1 + l2, \u{1b}[01;31m\u{1b}[K&test\u{1b}[m\u{1b}[K)) {\n                                                        \u{1b}[01;31m\u{1b}[K^~~~~\u{1b}[m\u{1b}[K\n\u{1b}[01m\u{1b}[K<built-in>:\u{1b}[m\u{1b}[K \u{1b}[01;36m\u{1b}[Knote: \u{1b}[m\u{1b}[K  initializing argument 3 of \'\u{1b}[01m\u{1b}[Kbool __builtin_ssubll_overflow(long long int, long long int, long long int*)\u{1b}[m\u{1b}[K\'\nIn file included from \u{1b}[01m\u{1b}[K/usr/include/x86_64-linux-gnu/c++/7/bits/c++allocator.h:33:0\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K/usr/include/c++/7/bits/allocator.h:46\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K/usr/include/c++/7/memory:63\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/c10/core/Allocator.h:4\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/aten/src/ATen/ATen.h:7\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/ir/attributes.h:2\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/ir/ir.h:3\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.h:3\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:1\u{1b}[m\u{1b}[K:\n/usr/include/c++/7/ext/new_allocator.h: In instantiation of \'\u{1b}[01m\u{1b}[Kvoid __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>; _Args = {std::tuple<torch::jit::LiveRange, torch::jit::FrameNodeId>}; _Tp = std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>]\u{1b}[m\u{1b}[K\':\n\u{1b}[01m\u{1b}[K/usr/include/c++/7/bits/alloc_traits.h:475:4:\u{1b}[m\u{1b}[K   required from \'\u{1b}[01m\u{1b}[Kstatic void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>; _Args = {std::tuple<torch::jit::LiveRange, torch::jit::FrameNodeId>}; _Tp = std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId> >]\u{1b}[m\u{1b}[K\'\n\u{1b}[01m\u{1b}[K/usr/include/c++/7/bits/vector.tcc:100:30:\u{1b}[m\u{1b}[K   required from \'\u{1b}[01m\u{1b}[Kvoid std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::tuple<torch::jit::LiveRange, torch::jit::FrameNodeId>}; _Tp = std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>; _Alloc = std::allocator<std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId> >]\u{1b}[m\u{1b}[K\'\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:423:60:\u
Sep 01 09:39:51 
Sep 01 09:39:51 =========== If your build fails, please take a look at the log above for possible reasons ===========
Sep 01 09:39:51 Compile requests                    8359
Sep 01 09:39:51 Compile requests executed           6407

See CircleCI build binary_linux_libtorch_3_7m_cpu_gcc5_4_cxx11-abi_shared-with-deps_build (9/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

../torch/csrc/jit/passes/memory_planning.h:197:... namespace ‘std’ does not name a template type
                 from ../torch/csrc/jit/passes/memory_planning/greedy_by_breadth.cpp:1:
../torch/csrc/jit/passes/memory_planning.h:197:16: error: ‘stack’ in namespace ‘std’ does not name a template type
   mutable std::stack<std::pair<size_t, void*>> allocs_;
                ^
[5227/6009] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_tuples.cpp.o
[5228/6009] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/memory_planning/linear_scan.cpp.o
FAILED: caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/memory_planning/linear_scan.cpp.o 
/usr/bin/c++  -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DFXDIV_USE_INLINE_ASSEMBLY=0 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DNNP_CONVOLUTION_ONLY=0 -DNNP_INFERENCE_ONLY=0 -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -DUSE_TENSORPIPE -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -Iaten/src -I../aten/src -I. -I../ -I../cmake/../third_party/benchmark/include -Icaffe2/contrib/aten -I../third_party/onnx -Ithird_party/onnx -I../third_party/foxi -Ithird_party/foxi -I../torch/csrc/api -I../torch/csrc/api/include -I../caffe2/aten/src/TH -Icaffe2/aten/src/TH -Icaffe2/aten/src -Icaffe2/../aten/src -Icaffe2/../aten/src/ATen -I../torch/csrc -I../third_party/miniz-2.0.8 -I../third_party/kineto/libkineto/include -I../third_party/kineto/libkineto/src -I../torch/csrc/distributed -I../aten/src/TH -I../aten/../third_party/catch/single_include -I../aten/src/ATen/.. -Icaffe2/aten/src/ATen -I../caffe2/core/nomnigraph/include -I../third_party/FXdiv/include -I../c10/.. -Ithird_party/ideep/mkl-dnn/include -I../third_party/ideep/mkl-dnn/src/../include -I../third_party/pthreadpool/include -I../third_party/cpuinfo/include -I../third_party/QNNPACK/include -I../aten/src/ATen/native/quantized/cpu/qnnpack/include -I../aten/src/ATen/native/quantized/cpu/qnnpack/src -I../third_party/cpuinfo/deps/clog/include -I../third_party/NNPACK/include -I../third_party/fbgemm/include -I../third_party/fbgemm -I../third_party/fbgemm/third_party/asmjit/src -I../third_party/FP16/include -I../third_party/tensorpipe -Ithird_party/tensorpipe -I../third_party/tensorpipe/third_party/libnop/include -I../third_party/fmt/include -isystem third_party/gloo -isystem ../cmake/../third_party/gloo -isystem ../cmake/../third_party/googletest/googlemock/include -isystem ../cmake/../third_party/googletest/googletest/include -isystem ../third_party/protobuf/src -isystem /opt/intel/include -isystem ../third_party/gemmlowp -isystem ../third_party/neon2sse -isystem ../third_party/XNNPACK/include -isystem ../third_party -isystem ../cmake/../third_party/eigen -isystem /opt/conda/include/python3.8 -isystem /opt/conda/lib/python3.8/site-packages/numpy/core/include -isystem ../cmake/../third_party/pybind11/include -isystem ../third_party/ideep/mkl-dnn/include -isystem ../third_party/ideep/include -isystem include -Wno-deprecated-declarations -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -DHAVE_AVX2_CPU_DEFINITION -O3 -DNDEBUG -DNDEBUG -fPIC   -DCAFFE2_USE_GLOO -DHAVE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -g -fopenmp -DCAFFE2_BUILD_MAIN_LIB -pthread -DASMJIT_STATIC -std=gnu++14 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/memory_planning/linear_scan.cpp.o -MF caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/memory_planning/linear_scan.cpp.o.d -o caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/memory_planning/linear_scan.cpp.o -c ../torch/csrc/jit/passes/memory_planning/linear_scan.cpp
In file included from ../torch/csrc/jit/passes/memory_planning/linear_scan.h:4:0,
                 from ../torch/csrc/jit/passes/memory_planning/linear_scan.cpp:1:
../torch/csrc/jit/passes/memory_planning.h:197:16: error: ‘stack’ in namespace ‘std’ does not name a template type
   mutable std::stack<std::pair<size_t, void*>> allocs_;
                ^
[5229/6009] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/normalize_ops.cpp.o
[5230/6009] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/pass_manager.cpp.o
[5231/6009] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/metal_rewrite.cpp.o
[5232/6009] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_non_tensor.cpp.o
[5233/6009] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_list_idioms.cpp.o
[5234/6009] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/prepack_folding.cpp.o
[5235/6009] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole.cpp.o
ninja: build stopped: subcommand failed.

See CircleCI build pytorch_linux_bionic_rocm3_9_py3_6_build (10/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Sep 01 09:07:19 /usr/include/c++/7/ext/new_allo...orch::jit::LiveRange, torch::jit::FrameNodeId>)’
Sep 01 09:07:19                  from /var/lib/jenkins/workspace/c10/core/Allocator.h:4,
Sep 01 09:07:19                  from /var/lib/jenkins/workspace/aten/src/ATen/ATen.h:7,
Sep 01 09:07:19                  from /var/lib/jenkins/workspace/torch/csrc/jit/ir/attributes.h:2,
Sep 01 09:07:19                  from /var/lib/jenkins/workspace/torch/csrc/jit/ir/ir.h:3,
Sep 01 09:07:19                  from /var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.h:3,
Sep 01 09:07:19                  from /var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:1:
Sep 01 09:07:19 /usr/include/c++/7/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>; _Args = {std::tuple<torch::jit::LiveRange, torch::jit::FrameNodeId>}; _Tp = std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>]’:
Sep 01 09:07:19 /usr/include/c++/7/bits/alloc_traits.h:475:4:   required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>; _Args = {std::tuple<torch::jit::LiveRange, torch::jit::FrameNodeId>}; _Tp = std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId> >]’
Sep 01 09:07:19 /usr/include/c++/7/bits/vector.tcc:100:30:   required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::tuple<torch::jit::LiveRange, torch::jit::FrameNodeId>}; _Tp = std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>; _Alloc = std::allocator<std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId> >]’
Sep 01 09:07:19 /var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:423:60:   required from here
Sep 01 09:07:19 /usr/include/c++/7/ext/new_allocator.h:136:4: error: no matching function for call to ‘std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>::pair(std::tuple<torch::jit::LiveRange, torch::jit::FrameNodeId>)’
Sep 01 09:07:19   { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
Sep 01 09:07:19     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sep 01 09:07:19 In file included from /usr/include/c++/7/bits/stl_algobase.h:64:0,
Sep 01 09:07:19                  from /usr/include/c++/7/memory:62,
Sep 01 09:07:19                  from /var/lib/jenkins/workspace/c10/core/Allocator.h:4,
Sep 01 09:07:19                  from /var/lib/jenkins/workspace/aten/src/ATen/ATen.h:7,
Sep 01 09:07:19                  from /var/lib/jenkins/workspace/torch/csrc/jit/ir/attributes.h:2,
Sep 01 09:07:19                  from /var/lib/jenkins/workspace/torch/csrc/jit/ir/ir.h:3,
Sep 01 09:07:19                  from /var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.h:3,
Sep 01 09:07:19                  from /var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:1:

See CircleCI build pytorch_linux_xenial_py3_6_gcc5_4_build (11/15)

Step: "(Optional) Merge target branch" (full log | diagnosis details | 🔁 rerun)

Automatic merge failed; fix conflicts and then commit the result.
CONFLICT (add/add): Merge conflict in .circleci/cimodel/data/windows_build_definitions.py
Auto-merging .circleci/cimodel/data/windows_build_definitions.py
CONFLICT (add/add): Merge conflict in .circleci/cimodel/data/simple/nightly_ios.py
Auto-merging .circleci/cimodel/data/simple/nightly_ios.py
CONFLICT (add/add): Merge conflict in .circleci/cimodel/data/pytorch_build_definitions.py
Auto-merging .circleci/cimodel/data/pytorch_build_definitions.py
CONFLICT (add/add): Merge conflict in .circleci/cimodel/data/pytorch_build_data.py
Auto-merging .circleci/cimodel/data/pytorch_build_data.py
CONFLICT (add/add): Merge conflict in .bazelrc
Auto-merging .bazelrc
Automatic merge failed; fix conflicts and then commit the result.


Exited with code exit status 1

See CircleCI build pytorch_linux_xenial_py3_clang7_asan_build (12/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Sep 01 08:58:12 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory
Sep 01 08:58:12 ++++ extract_trap_cmd
Sep 01 08:58:12 ++++ printf '%s\n' ''
Sep 01 08:58:12 +++ printf '%s\n' cleanup
Sep 01 08:58:12 ++ trap -- '
Sep 01 08:58:12 cleanup' EXIT
Sep 01 08:58:12 ++ [[ pytorch-linux-xenial-py3-clang7-asan-build != *win-* ]]
Sep 01 08:58:12 ++ which sccache
Sep 01 08:58:12 ++ sccache --stop-server
Sep 01 08:58:12 ++ true
Sep 01 08:58:12 ++ rm /var/lib/jenkins/sccache_error.log
Sep 01 08:58:12 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory
Sep 01 08:58:12 ++ true
Sep 01 08:58:12 ++ [[ -n '' ]]
Sep 01 08:58:12 ++ [[ pytorch-linux-xenial-py3-clang7-asan-build == *rocm* ]]
Sep 01 08:58:12 ++ SCCACHE_ERROR_LOG=/var/lib/jenkins/sccache_error.log
Sep 01 08:58:12 ++ SCCACHE_IDLE_TIMEOUT=1200
Sep 01 08:58:12 ++ RUST_LOG=sccache::server=error
Sep 01 08:58:12 ++ sccache --start-server
Sep 01 08:58:12 sccache: Starting the server...
Sep 01 08:58:12 ++ sccache --zero-stats
Sep 01 08:58:12 Compile requests                      0

See CircleCI build pytorch_linux_xenial_py3_clang7_onnx_build (13/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Sep 01 08:46:30 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory
Sep 01 08:46:30 ++++ extract_trap_cmd
Sep 01 08:46:30 ++++ printf '%s\n' ''
Sep 01 08:46:30 +++ printf '%s\n' cleanup
Sep 01 08:46:30 ++ trap -- '
Sep 01 08:46:30 cleanup' EXIT
Sep 01 08:46:30 ++ [[ pytorch-linux-xenial-py3-clang7-onnx-build != *win-* ]]
Sep 01 08:46:30 ++ which sccache
Sep 01 08:46:30 ++ sccache --stop-server
Sep 01 08:46:30 ++ true
Sep 01 08:46:30 ++ rm /var/lib/jenkins/sccache_error.log
Sep 01 08:46:30 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory
Sep 01 08:46:30 ++ true
Sep 01 08:46:30 ++ [[ -n '' ]]
Sep 01 08:46:30 ++ [[ pytorch-linux-xenial-py3-clang7-onnx-build == *rocm* ]]
Sep 01 08:46:30 ++ SCCACHE_ERROR_LOG=/var/lib/jenkins/sccache_error.log
Sep 01 08:46:30 ++ SCCACHE_IDLE_TIMEOUT=1200
Sep 01 08:46:30 ++ RUST_LOG=sccache::server=error
Sep 01 08:46:30 ++ sccache --start-server
Sep 01 08:46:30 sccache: Starting the server...
Sep 01 08:46:30 ++ sccache --zero-stats
Sep 01 08:46:30 Compile requests                      0

See CircleCI build pytorch_linux_xenial_py3_clang5_mobile_custom_build_static (14/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Sep 01 09:17:56 ../../torch/csrc/jit/passes/mem...' in namespace 'std' does not name a template type
Sep 01 09:17:51 In file included from ../../torch/csrc/jit/passes/memory_planning/greedy_by_breadth.h:3:0,
Sep 01 09:17:51                  from /var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/greedy_by_breadth.cpp:1:
Sep 01 09:17:51 ../../torch/csrc/jit/passes/memory_planning.h:197:16: error: 'stack' in namespace 'std' does not name a template type
Sep 01 09:17:51    mutable std::stack<std::pair<size_t, void*>> allocs_;
Sep 01 09:17:51                 ^
Sep 01 09:17:56 [2932/3045] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/memory_planning/greedy_by_size.cpp.o
Sep 01 09:17:56 FAILED: caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/memory_planning/greedy_by_size.cpp.o 
Sep 01 09:17:56 /opt/cache/bin/sccache /opt/cache/bin/c++   -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DFXDIV_USE_INLINE_ASSEMBLY=0 -DNNP_CONVOLUTION_ONLY=0 -DNNP_INFERENCE_ONLY=0 -Iaten/src -I../../aten/src -I. -I../../ -isystem third_party/gloo -isystem ../../cmake/../third_party/gloo -isystem ../../third_party/XNNPACK/include -isystem ../../cmake/../third_party/eigen -isystem ../../cmake/../third_party/pybind11/include -I../../caffe2/aten/src/TH -Icaffe2/aten/src/TH -Icaffe2/aten/src -Icaffe2/../aten/src -Icaffe2/../aten/src/ATen -I../../torch/csrc -I../../third_party/miniz-2.0.8 -I../../torch/csrc/distributed -I../../aten/src/TH -I../../aten/../third_party/catch/single_include -I../../aten/src/ATen/.. -Icaffe2/aten/src/ATen -isystem ../../caffe2 -I../../third_party/FXdiv/include -I../../c10/.. -I../../third_party/pthreadpool/include -I../../third_party/cpuinfo/include -I../../aten/src/ATen/native/quantized/cpu/qnnpack/include -I../../aten/src/ATen/native/quantized/cpu/qnnpack/src -I../../third_party/cpuinfo/deps/clog/include -I../../third_party/NNPACK/include -I../../third_party/FP16/include -I../../third_party/fmt/include -DSTRIP_ERROR_MESSAGES -DC10_MOBILE -DNO_EXPORT -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -O3 -DNDEBUG -fPIC   -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -std=gnu++14 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/memory_planning/greedy_by_size.cpp.o -MF caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/memory_planning/greedy_by_size.cpp.o.d -o caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/memory_planning/greedy_by_size.cpp.o -c /var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/greedy_by_size.cpp
Sep 01 09:17:56 In file included from ../../torch/csrc/jit/passes/memory_planning/greedy_by_size.h:3:0,
Sep 01 09:17:56                  from /var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/greedy_by_size.cpp:1:
Sep 01 09:17:56 ../../torch/csrc/jit/passes/memory_planning.h:197:16: error: 'stack' in namespace 'std' does not name a template type
Sep 01 09:17:56    mutable std::stack<std::pair<size_t, void*>> allocs_;
Sep 01 09:17:56                 ^
Sep 01 09:17:56 ninja: build stopped: subcommand failed.
Sep 01 09:17:56 =================== sccache compilation log ===================
Sep 01 09:17:56 + sccache_epilogue
Sep 01 09:17:56 + echo '=================== sccache compilation log ==================='
Sep 01 09:17:56 + python /var/lib/jenkins/workspace/.jenkins/pytorch/print_sccache_log.py /var/lib/jenkins/sccache_error.log
Sep 01 09:17:56 ERROR 2021-09-01T09:17:49Z: sccache::server: Compilation failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "In file included from \u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/MemoryPlanningAllocator.cpp:1:0\u{1b}[m\u{1b}[K:\n\u{1b}[01m\u{1b}[K../../torch/csrc/jit/passes/memory_planning.h:197:16:\u{1b}[m\u{1b}[K \u{1b}[01;31m\u{1b}[Kerror: \u{1b}[m\u{1b}[K\'\u{1b}[01m\u{1b}[Kstack\u{1b}[m\u{1b}[K\' in namespace \'\u{1b}[01m\u{1b}[Kstd\u{1b}[m\u{1b}[K\' does not name a template type\n   mutable std::stack<std::pair<size_t, void*>> allocs_;\n\u{1b}[01;32m\u{1b}[K                ^\u{1b}[m\u{1b}[K\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/MemoryPlanningAllocator.cpp:\u{1b}[m\u{1b}[K In member function \'\u{1b}[01m\u{1b}[Kvirtual c10::DataPtr c10::MemoryPlanningAllocator::allocate(size_t) const\u{1b}[m\u{1b}[K\':\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/MemoryPlanningAllocator.cpp:29:16:\u{1b}[m\u{1b}[K \u{1b}[01;31m\u{1b}[Kerror: \u{1b}[m\u{1b}[K\'\u{1b}[01m\u{1b}[Kallocs_\u{1b}[m\u{1b}[K\' was not declared in this scope\n   auto alloc = allocs_.top();\n\u{1b}[01;32m\u{1b}[K                ^\u{1b}[m\u{1b}[K\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/MemoryPlanningAllocator.cpp:34:59:\u{1b}[m\u{1b}[K \u{1b}[01;31m\u{1b}[Kerror: \u{1b}[m\u{1b}[Kcould not convert \'\u{1b}[01m\u{1b}[K{data, data, c10::DoNothing, c10::Device(((c10::DeviceType)((const c10::MemoryPlanningAllocator*)this)->c10::MemoryPlanningAllocator::device_type_), -1)}\u{1b}[m\u{1b}[K\' from \'\u{1b}[01m\u{1b}[K<brace-enclosed initializer list>\u{1b}[m\u{1b}[K\' to \'\u{1b}[01m\u{1b}[Kc10::DataPtr\u{1b}[m\u{1b}[K\'\n   return {data, data, &DoNothing, at::Device(device_type_)};\n\u{1b}[01;32m\u{1b}[K                                                           ^\u{1b}[m\u{1b}[K\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/MemoryPlanningAllocator.cpp:\u{1b}[m\u{1b}[K In member function \'\u{1b}[01m\u{1b}[Kvoid c10::MemoryPlanningAllocator::push_allocation(c10::Storage, size_t, size_t, c10::DeviceType)\u{1b}[m\u{1b}[K\':\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning/MemoryPlanningAllocator.cpp:49:3:\u{1b}[m\u{1b}[K \u{1b}[01;31m\u{1b}[Kerror: \u{1b}[m\u{1b}[K\'\u{1b}[01m\u{1b}[Kallocs_\u{1b}[m\u{1b}[K\' was not declared in this scope\n   allocs_.push(std::make_pair(size, src));\n\u{1b}[01;32m\u{1b}[K   ^\u{1b}[m\u{1b}[K\n" }
Sep 01 09:17:56 
Sep 01 09:17:56 ERROR 2021-09-01T09:17:51Z: sccache::server: Compilation failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "In file included from \u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:1:0\u{1b}[m\u{1b}[K:\n\u{1b}[01m\u{1b}[K../../torch/csrc/jit/passes/memory_planning.h:197:16:\u{1b}[m\u{1b}[K \u{1b}[01;31m\u{1b}[Kerror: \u{1b}[m\u{1b}[K\'\u{1b}[01m\u{1b}[Kstack\u{1b}[m\u{1b}[K\' in namespace \'\u{1b}[01m\u{1b}[Kstd\u{1b}[m\u{1b}[K\' does not name a template type\n   mutable std::stack<std::pair<size_t, void*>> allocs_;\n\u{1b}[01;32m\u{1b}[K                ^\u{1b}[m\u{1b}[K\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:\u{1b}[m\u{1b}[K In function \'\u{1b}[01m\u{1b}[Kint torch::jit::intersectArea(int64_t, int64_t, int64_t, int64_t)\u{1b}[m\u{1b}[K\':\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:20:46:\u{1b}[m\u{1b}[K \u{1b}[01;31m\u{1b}[Kerror: \u{1b}[m\u{1b}[Kinvalid conversion from \'\u{1b}[01m\u{1b}[Kint64_t* {aka long int*}\u{1b}[m\u{1b}[K\' to \'\u{1b}[01m\u{1b}[Klong long int*\u{1b}[m\u{1b}[K\' [-fpermissive]\n   if (__builtin_saddll_overflow(l1, l2, &test)) {\n\u{1b}[01;32m\u{1b}[K                                              ^\u{1b}[m\u{1b}[K\n\u{1b}[01m\u{1b}[K<built-in>:\u{1b}[m\u{1b}[K \u{1b}[01;36m\u{1b}[Knote: \u{1b}[m\u{1b}[K  initializing argument 3 of \'\u{1b}[01m\u{1b}[Kbool __builtin_saddll_overflow(long long int, long long int, long long int*)\u{1b}[m\u{1b}[K\'\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:23:61:\u{1b}[m\u{1b}[K \u{1b}[01;31m\u{1b}[Kerror: \u{1b}[m\u{1b}[Kinvalid conversion from \'\u{1b}[01m\u{1b}[Kint64_t* {aka long int*}\u{1b}[m\u{1b}[K\' to \'\u{1b}[01m\u{1b}[Klong long int*\u{1b}[m\u{1b}[K\' [-fpermissive]\n   } else if (__builtin_ssubll_overflow(outer, l1 + l2, &test)) {\n\u{1b}[01;32m\u{1b}[K                                                             ^\u{1b}[m\u{1b}[K\n\u{1b}[01m\u{1b}[K<built-in>:\u{1b}[m\u{1b}[K \u{1b}[01;36m\u{1b}[Knote: \u{1b}[m\u{1b}[K  initializing argument 3 of \'\u{1b}[01m\u{1b}[Kbool __builtin_ssubll_overflow(long long int, long long int, long long int*)\u{1b}[m\u{1b}[K\'\nIn file included from \u{1b}[01m\u{1b}[K/usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K/usr/include/c++/5/bits/allocator.h:46\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K/usr/include/c++/5/memory:63\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K../../c10/core/Allocator.h:4\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K../../aten/src/ATen/ATen.h:7\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K../../torch/csrc/jit/ir/attributes.h:2\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K../../torch/csrc/jit/ir/ir.h:3\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K../../torch/csrc/jit/passes/memory_planning.h:3\u{1b}[m\u{1b}[K,\n                 from \u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:1\u{1b}[m\u{1b}[K:\n/usr/include/c++/5/ext/new_allocator.h: In instantiation of \'\u{1b}[01m\u{1b}[Kvoid __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>; _Args = {std::tuple<torch::jit::LiveRange, torch::jit::FrameNodeId>}; _Tp = std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>]\u{1b}[m\u{1b}[K\':\n\u{1b}[01m\u{1b}[K/usr/include/c++/5/bits/alloc_traits.h:530:4:\u{1b}[m\u{1b}[K   required from \'\u{1b}[01m\u{1b}[Kstatic void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>; _Args = {std::tuple<torch::jit::LiveRange, torch::jit::FrameNodeId>}; _Tp = std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId> >]\u{1b}[m\u{1b}[K\'\n\u{1b}[01m\u{1b}[K/usr/include/c++/5/bits/vector.tcc:96:30:\u{1b}[m\u{1b}[K   required from \'\u{1b}[01m\u{1b}[Kvoid std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::tuple<torch::jit::LiveRange, torch::jit::FrameNodeId>}; _Tp = std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>; _Alloc = std::allocator<std::pair<torch::jit::LiveRange, torch::jit::FrameNodeId> >]\u{1b}[m\u{1b}[K\'\n\u{1b}[01m\u{1b}[K/var/lib/jenkins/workspace/torch/csrc/jit/passes/memory_planning.cpp:423:60:\u{1b}[m\u{1b}[K   required from here\n\u{1b}[01m\u{1b}[K/usr/include/c++/5/ext/new_allocator.h:120:4:\u{1b}[m\u{1b}[K \u{1b}[01;31m\u{1b}[Kerror: \u{1b}[m\u{1b}[Kno matching function for call to \'\u{1b}[01m\u{1b}[Kstd::pair<torch::jit::LiveRange, torch::jit::FrameNodeId>::pair(std::tuple<torch::jit::LiveRange, to

See CircleCI build pytorch_linux_bionic_py3_6_clang9_noarch_build (15/15)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Sep 01 08:49:23 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory
Sep 01 08:49:23 ++++ extract_trap_cmd
Sep 01 08:49:23 ++++ printf '%s\n' ''
Sep 01 08:49:23 +++ printf '%s\n' cleanup
Sep 01 08:49:23 ++ trap -- '
Sep 01 08:49:23 cleanup' EXIT
Sep 01 08:49:23 ++ [[ pytorch-linux-bionic-py3.6-clang9-noarch-build != *win-* ]]
Sep 01 08:49:23 ++ which sccache
Sep 01 08:49:23 ++ sccache --stop-server
Sep 01 08:49:23 ++ true
Sep 01 08:49:23 ++ rm /var/lib/jenkins/sccache_error.log
Sep 01 08:49:23 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory
Sep 01 08:49:23 ++ true
Sep 01 08:49:23 ++ [[ -n '' ]]
Sep 01 08:49:23 ++ [[ pytorch-linux-bionic-py3.6-clang9-noarch-build == *rocm* ]]
Sep 01 08:49:23 ++ SCCACHE_ERROR_LOG=/var/lib/jenkins/sccache_error.log
Sep 01 08:49:23 ++ SCCACHE_IDLE_TIMEOUT=1200
Sep 01 08:49:23 ++ RUST_LOG=sccache::server=error
Sep 01 08:49:23 ++ sccache --start-server
Sep 01 08:49:23 sccache: Starting the server...
Sep 01 08:49:23 ++ sccache --zero-stats
Sep 01 08:49:23 Compile requests                      0

2 failures not recognized by patterns:

Job Step Action
GitHub Actions win-vs2019-cuda10-cudnn7-py3 / render_test_results (default) Download PyTorch Test Reports 🔁 rerun
GitHub Actions Lint / quick-checks Ensure correct trailing newlines 🔁 rerun

ci.pytorch.org: 1 failed


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Sep 1, 2021
makslevental pushed a commit that referenced this pull request Sep 1, 2021
ghstack-source-id: f4438674f5e42372be1602af7926bce30e9b4820
Pull Request resolved: #64351
makslevental pushed a commit that referenced this pull request Sep 1, 2021
ghstack-source-id: 67b5e12ba523ca1e6199d0c77fbe0a9ad6811c02
Pull Request resolved: #63873

reorder

refactor profiling allocator

put profiling back

reconcile profiling

ghstack-source-id: 67b5e12ba523ca1e6199d0c77fbe0a9ad6811c02
Pull Request resolved: #64351
makslevental added a commit that referenced this pull request Sep 1, 2021
ghstack-source-id: 81791b37bded10756bdb97d4d3cf57001e266d1f
Pull Request resolved: #63873

reorder

refactor profiling allocator

put profiling back

reconcile profiling

ghstack-source-id: 81791b37bded10756bdb97d4d3cf57001e266d1f
Pull Request resolved: #64351

use make_pair instead of make_tuple
makslevental pushed a commit that referenced this pull request Sep 2, 2021
ghstack-source-id: fad366c4a2ee07cd841d76fa2c395b16299deab2
Pull Request resolved: #63873

reorder

refactor profiling allocator

put profiling back

reconcile profiling

ghstack-source-id: fad366c4a2ee07cd841d76fa2c395b16299deab2
Pull Request resolved: #64351

use make_pair instead of make_tuple
makslevental pushed a commit that referenced this pull request Sep 4, 2021
ghstack-source-id: e75efb0281b1aa1de2d5bd3b974f8b8c2f1f98b2
Pull Request resolved: #63873

reorder

refactor profiling allocator

put profiling back

reconcile profiling

ghstack-source-id: e75efb0281b1aa1de2d5bd3b974f8b8c2f1f98b2
Pull Request resolved: #64351

use make_pair instead of make_tuple

incorporate uniqueliverange
makslevental pushed a commit that referenced this pull request Sep 7, 2021
ghstack-source-id: 930e6599ce3a9a33df1b43f75355c7a4ebb2bc22
Pull Request resolved: #63873

reorder

refactor profiling allocator

put profiling back

reconcile profiling

ghstack-source-id: 930e6599ce3a9a33df1b43f75355c7a4ebb2bc22
Pull Request resolved: #64351

use make_pair instead of make_tuple

incorporate uniqueliverange

fix tests

whoops

rename stuff
makslevental pushed a commit that referenced this pull request Sep 7, 2021
ghstack-source-id: 0f55bf55bc5cbe06b3ec75e967de620c4c25f62e
Pull Request resolved: #63873

reorder

refactor profiling allocator

put profiling back

reconcile profiling

ghstack-source-id: 0f55bf55bc5cbe06b3ec75e967de620c4c25f62e
Pull Request resolved: #64351

use make_pair instead of make_tuple

incorporate uniqueliverange

fix tests

whoops

rename stuff

size_t for memory tracing
makslevental pushed a commit that referenced this pull request Sep 7, 2021
ghstack-source-id: 03c41e45a84459bd737c83ebdd9e9f45951446a7
Pull Request resolved: #63873

reorder

refactor profiling allocator

put profiling back

reconcile profiling

ghstack-source-id: 03c41e45a84459bd737c83ebdd9e9f45951446a7
Pull Request resolved: #64351

use make_pair instead of make_tuple

incorporate uniqueliverange

fix tests

whoops

rename stuff

size_t for memory tracing
makslevental pushed a commit that referenced this pull request Sep 9, 2021
ghstack-source-id: 961ea9977c0a2ac467e903851f81cdeeb56cce38
Pull Request resolved: #63873

reorder

refactor profiling allocator

put profiling back

reconcile profiling

ghstack-source-id: 961ea9977c0a2ac467e903851f81cdeeb56cce38
Pull Request resolved: #64351

use make_pair instead of make_tuple

incorporate uniqueliverange

fix tests

whoops

rename stuff

size_t for memory tracing
makslevental pushed a commit that referenced this pull request Sep 13, 2021
ghstack-source-id: 5256d94abbf80ddda00980dade0623674bb05299
Pull Request resolved: #63873

reorder

refactor profiling allocator

put profiling back

reconcile profiling

ghstack-source-id: 5256d94abbf80ddda00980dade0623674bb05299
Pull Request resolved: #64351

use make_pair instead of make_tuple

incorporate uniqueliverange

fix tests

whoops

rename stuff

size_t for memory tracing
makslevental added a commit that referenced this pull request Sep 21, 2021
ghstack-source-id: 132dc0c37f92f5ad0c855da06adc6a41f82f6574
Pull Request resolved: #63873

reorder

refactor profiling allocator

put profiling back

reconcile profiling

ghstack-source-id: 132dc0c37f92f5ad0c855da06adc6a41f82f6574
Pull Request resolved: #64351

use make_pair instead of make_tuple

incorporate uniqueliverange

fix tests

whoops

rename stuff

size_t for memory tracing
makslevental added a commit that referenced this pull request Sep 21, 2021
ghstack-source-id: b038aa015025f59110466e1326512379c97b9427
Pull Request resolved: #63873

reorder

refactor profiling allocator

put profiling back

reconcile profiling

ghstack-source-id: b038aa015025f59110466e1326512379c97b9427
Pull Request resolved: #64351

use make_pair instead of make_tuple

incorporate uniqueliverange

fix tests

whoops

rename stuff

size_t for memory tracing
@facebook-github-bot facebook-github-bot deleted the gh/makslevental/32/head branch October 1, 2021 14:28
makslevental added a commit that referenced this pull request Nov 3, 2021
ghstack-source-id: db94a55a0dd8eabf662ea9ae260ffb62f1c8bdb6
Pull Request resolved: #63873

reorder

refactor profiling allocator

put profiling back

reconcile profiling

ghstack-source-id: db94a55a0dd8eabf662ea9ae260ffb62f1c8bdb6
Pull Request resolved: #64351

use make_pair instead of make_tuple

incorporate uniqueliverange

fix tests

whoops

rename stuff

size_t for memory tracing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla signed oncall: jit Add this issue/PR to JIT oncall triage queue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants