Skip to content

Cleanup and modernize Optional.h#64020

Closed
heitorschueroff wants to merge 3 commits intogh/heitorschueroff/17/basefrom
gh/heitorschueroff/17/head
Closed

Cleanup and modernize Optional.h#64020
heitorschueroff wants to merge 3 commits intogh/heitorschueroff/17/basefrom
gh/heitorschueroff/17/head

Conversation

@heitorschueroff
Copy link
Contributor

@heitorschueroff heitorschueroff commented Aug 26, 2021

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Aug 26, 2021

🔗 Helpful links

💊 CI failures summary and remediations

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


  • 8/8 failures introduced in this PR

🕵️ 8 new failures recognized by patterns

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

See GitHub Actions build linux-xenial-py3.6-gcc5.4 / build (1/8)

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

2022-04-15T14:46:07.8845457Z Build left local git repository checkout dirty
2022-04-15T14:46:04.7310208Z unknown source language               1
2022-04-15T14:46:04.7310418Z 
2022-04-15T14:46:04.7311151Z Cache location                  S3, bucket: Bucket(name=ossci-compiler-cache-circleci-v2, base_url=http://ossci-compiler-cache-circleci-v2.s3.amazonaws.com/)
2022-04-15T14:46:04.7311553Z + assert_git_not_dirty
2022-04-15T14:46:04.7311827Z + [[ linux-xenial-py3.6-gcc5.4 != *rocm* ]]
2022-04-15T14:46:04.7312106Z + [[ linux-xenial-py3.6-gcc5.4 != *xla* ]]
2022-04-15T14:46:04.7312357Z ++ git status --porcelain
2022-04-15T14:46:07.8843468Z + git_status='?? third_party/flatbuffers/'
2022-04-15T14:46:07.8843781Z + [[ -n ?? third_party/flatbuffers/ ]]
2022-04-15T14:46:07.8844112Z + echo 'Build left local git repository checkout dirty'
2022-04-15T14:46:07.8845457Z Build left local git repository checkout dirty
2022-04-15T14:46:07.8845829Z + echo 'git status --porcelain:'
2022-04-15T14:46:07.8846074Z git status --porcelain:
2022-04-15T14:46:07.8846326Z + echo '?? third_party/flatbuffers/'
2022-04-15T14:46:07.8869524Z ?? third_party/flatbuffers/
2022-04-15T14:46:07.8869913Z + exit 1
2022-04-15T14:46:07.8870199Z + cleanup
2022-04-15T14:46:07.8870400Z + retcode=1
2022-04-15T14:46:07.8870566Z + set +x
2022-04-15T14:46:07.8870776Z =================== sccache compilation log ===================
2022-04-15T14:46:07.9039741Z =========== If your build fails, please take a look at the log above for possible reasons ===========

See GitHub Actions build linux-bionic-py3.8-gcc9-coverage / test (default, 2, 2, linux.2xlarge) (2/8)

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

2022-04-15T16:12:53.3242526Z Build left local git repository checkout dirty
2022-04-15T16:12:46.0262371Z real	56m44.034s
2022-04-15T16:12:46.0262753Z user	122m35.179s
2022-04-15T16:12:46.0263039Z sys	12m15.688s
2022-04-15T16:12:46.0263221Z + assert_git_not_dirty
2022-04-15T16:12:46.0263685Z + [[ linux-bionic-py3.8-gcc9-coverage-default-default != *rocm* ]]
2022-04-15T16:12:46.0264170Z + [[ linux-bionic-py3.8-gcc9-coverage-default-default != *xla* ]]
2022-04-15T16:12:46.0265591Z ++ git status --porcelain
2022-04-15T16:12:53.3241167Z + git_status='?? third_party/flatbuffers/'
2022-04-15T16:12:53.3241667Z + [[ -n ?? third_party/flatbuffers/ ]]
2022-04-15T16:12:53.3242025Z + echo 'Build left local git repository checkout dirty'
2022-04-15T16:12:53.3242526Z Build left local git repository checkout dirty
2022-04-15T16:12:53.3243051Z + echo 'git status --porcelain:'
2022-04-15T16:12:53.3243472Z git status --porcelain:
2022-04-15T16:12:53.3243826Z + echo '?? third_party/flatbuffers/'
2022-04-15T16:12:53.3244141Z ?? third_party/flatbuffers/
2022-04-15T16:12:53.3244416Z + exit 1
2022-04-15T16:12:53.3244704Z + cleanup
2022-04-15T16:12:53.3245000Z + retcode=1
2022-04-15T16:12:53.3245224Z + set +x
2022-04-15T16:12:53.3245413Z =================== sccache compilation log ===================
2022-04-15T16:12:53.3410401Z =========== If your build fails, please take a look at the log above for possible reasons ===========

See GitHub Actions build Lint / clang-tidy (3/8)

Step: "Generate build files" (full log | diagnosis details | 🔁 rerun)

2022-04-15T13:58:05.7534356Z Failed to run ['git', 'submodule', 'update', '--init', '--recursive']
2022-04-15T13:57:57.4157581Z ##[endgroup]
2022-04-15T13:58:05.7529539Z Running: ['git', 'submodule', 'update', '--init', '--recursive']
2022-04-15T13:58:05.7530301Z Submodule path 'android/libs/fbjni': checked out 'b592c5591345a05341ed6cd31d214e71e8bf4229'
2022-04-15T13:58:05.7530812Z Submodule path 'third_party/XNNPACK': checked out '79cd5f9e18ad0925ac9a050b00ea5a36230072db'
2022-04-15T13:58:05.7531310Z Submodule path 'third_party/breakpad': checked out '469a80ee54947ad8d000d33a615f1a199165a711'
2022-04-15T13:58:05.7531796Z Submodule path 'third_party/cudnn_frontend': checked out '51e60d891b689d618e7a623509a779c422a420f7'
2022-04-15T13:58:05.7532142Z From https://github.com/driazati/breakpad
2022-04-15T13:58:05.7532594Z  * branch              469a80ee54947ad8d000d33a615f1a199165a711 -> FETCH_HEAD
2022-04-15T13:58:05.7533053Z fatal: remote error: upload-pack: not our ref d41dc4dd74acce21fb210e7625d5d135751fa9e5
2022-04-15T13:58:05.7533869Z Fetched in submodule path 'third_party/eigen', but it did not contain d41dc4dd74acce21fb210e7625d5d135751fa9e5. Direct fetching of that commit failed.
2022-04-15T13:58:05.7534356Z Failed to run ['git', 'submodule', 'update', '--init', '--recursive']
2022-04-15T13:58:05.7623529Z ##[error]Process completed with exit code 1.
2022-04-15T13:58:05.7686454Z Post job cleanup.
2022-04-15T13:58:05.7689059Z ##[command]/usr/bin/docker exec  7f7215a85882ad37063caac26d1713a71999b9e92d9a6319bc9b59dd2f0fe551 sh -c "cat /etc/*release | grep ^ID"
2022-04-15T13:58:06.3497741Z [command]/usr/bin/git version
2022-04-15T13:58:06.3540499Z git version 2.32.0
2022-04-15T13:58:06.3575977Z Temporarily overriding HOME='/__w/_temp/7cb6852f-0aab-4446-9105-298f9f8865f5' before making global git config changes
2022-04-15T13:58:06.3576393Z Adding working directory to the temporary git global config as a safe directory
2022-04-15T13:58:06.3579888Z [command]/usr/bin/git config --global --add safe.directory /__w/pytorch/pytorch
2022-04-15T13:58:06.3615106Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2022-04-15T13:58:06.3645937Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :

See GitHub Actions build win-vs2019-cuda10.1-py3 / build (4/8)

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

2022-04-15T14:32:58.2906614Z C:\actions-runner\...n: 'OptionalBase<__int64>' is not a base or member
2022-04-15T14:32:58.0696828Z Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64
2022-04-15T14:32:58.0697371Z Copyright (C) Microsoft Corporation.  All rights reserved.
2022-04-15T14:32:58.0697672Z 
2022-04-15T14:32:58.1857643Z [3146/6273] C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\win_tmp\bin\sccache-cl.exe   /TP -DIDEEP_USE_MKL -DMAGMA_V2 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\cudnn_frontend\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\cub -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\win_tmp\magma\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\ideep\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\googletest\googlemock -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\googletest\googletest /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/pytorch-2172838422/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DCUDA_HAS_FP16=1 -DUSE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD -std:c++14 /showIncludes /Foc10\test\CMakeFiles\c10_irange_test.dir\util\irange_test.cpp.obj /Fdc10\test\CMakeFiles\c10_irange_test.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\c10\test\util\irange_test.cpp
2022-04-15T14:32:58.1866376Z Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64
2022-04-15T14:32:58.1866884Z Copyright (C) Microsoft Corporation.  All rights reserved.
2022-04-15T14:32:58.1867144Z 
2022-04-15T14:32:58.2873287Z [3147/6273] C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\win_tmp\bin\sccache-cl.exe   /TP -DIDEEP_USE_MKL -DMAGMA_V2 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\cudnn_frontend\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\cub -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\win_tmp\magma\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\ideep\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\googletest\googlemock -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\googletest\googletest /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/pytorch-2172838422/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DCUDA_HAS_FP16=1 -DUSE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD -std:c++14 /showIncludes /Foc10\test\CMakeFiles\c10_optional_test.dir\util\optional_test.cpp.obj /Fdc10\test\CMakeFiles\c10_optional_test.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\c10\test\util\optional_test.cpp
2022-04-15T14:32:58.2884122Z FAILED: c10/test/CMakeFiles/c10_optional_test.dir/util/optional_test.cpp.obj 
2022-04-15T14:32:58.2895075Z C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\win_tmp\bin\sccache-cl.exe   /TP -DIDEEP_USE_MKL -DMAGMA_V2 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\cudnn_frontend\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\cub -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\win_tmp\magma\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\ideep\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\googletest\googlemock -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\googletest\googletest /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/pytorch-2172838422/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DCUDA_HAS_FP16=1 -DUSE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD -std:c++14 /showIncludes /Foc10\test\CMakeFiles\c10_optional_test.dir\util\optional_test.cpp.obj /Fdc10\test\CMakeFiles\c10_optional_test.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\c10\test\util\optional_test.cpp
2022-04-15T14:32:58.2906614Z C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\c10/util/Optional.h(616): error C2614: 'c10::optional<c10::IntArrayRef>': illegal member initialization: 'OptionalBase<__int64>' is not a base or member
2022-04-15T14:32:58.2908645Z C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\c10/util/Optional.h(616): note: while compiling class template member function 'c10::optional<c10::IntArrayRef>::optional(void) noexcept'
2022-04-15T14:32:58.2909948Z C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\c10\test\util\optional_test.cpp(85): note: see reference to function template instantiation 'c10::optional<c10::IntArrayRef>::optional(void) noexcept' being compiled
2022-04-15T14:32:58.2911273Z C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\c10\test\util\optional_test.cpp(63): note: see reference to class template instantiation 'c10::optional<c10::IntArrayRef>' being compiled
2022-04-15T14:32:58.2912515Z Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64
2022-04-15T14:32:58.2913074Z Copyright (C) Microsoft Corporation.  All rights reserved.
2022-04-15T14:32:58.2913397Z 
2022-04-15T14:32:58.5180674Z [3148/6273] C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\win_tmp\bin\sccache-cl.exe   /TP -DIDEEP_USE_MKL -DMAGMA_V2 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\cudnn_frontend\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\cmake\..\third_party\cub -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\build\win_tmp\magma\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\ideep\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\googletest\googlemock -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\third_party\googletest\googletest /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/pytorch-2172838422/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DCUDA_HAS_FP16=1 -DUSE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD -std:c++14 /showIncludes /Foc10\test\CMakeFiles\c10_logging_test.dir\util\logging_test.cpp.obj /Fdc10\test\CMakeFiles\c10_logging_test.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838422\c10\test\util\logging_test.cpp
2022-04-15T14:32:58.5189509Z Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64
2022-04-15T14:32:58.5190043Z Copyright (C) Microsoft Corporation.  All rights reserved.
2022-04-15T14:32:58.5190299Z 

See GitHub Actions build linux-bionic-py3.8-gcc9-coverage / test (distributed, 1, 1, linux.2xlarge) (5/8)

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

2022-04-15T15:24:40.5024111Z Build left local git repository checkout dirty
2022-04-15T15:24:39.7593189Z real	9m47.214s
2022-04-15T15:24:39.7593592Z user	21m8.222s
2022-04-15T15:24:39.7593832Z sys	5m37.511s
2022-04-15T15:24:39.7594163Z + assert_git_not_dirty
2022-04-15T15:24:39.7594764Z + [[ linux-bionic-py3.8-gcc9-coverage-distributed-distributed != *rocm* ]]
2022-04-15T15:24:39.7595402Z + [[ linux-bionic-py3.8-gcc9-coverage-distributed-distributed != *xla* ]]
2022-04-15T15:24:39.7596236Z ++ git status --porcelain
2022-04-15T15:24:40.5022627Z + git_status='?? third_party/flatbuffers/'
2022-04-15T15:24:40.5023169Z + [[ -n ?? third_party/flatbuffers/ ]]
2022-04-15T15:24:40.5023705Z + echo 'Build left local git repository checkout dirty'
2022-04-15T15:24:40.5024111Z Build left local git repository checkout dirty
2022-04-15T15:24:40.5024383Z + echo 'git status --porcelain:'
2022-04-15T15:24:40.5024619Z git status --porcelain:
2022-04-15T15:24:40.5024846Z + echo '?? third_party/flatbuffers/'
2022-04-15T15:24:40.5025144Z ?? third_party/flatbuffers/
2022-04-15T15:24:40.5025323Z + exit 1
2022-04-15T15:24:40.5025463Z + cleanup
2022-04-15T15:24:40.5025621Z + retcode=1
2022-04-15T15:24:40.5025778Z + set +x
2022-04-15T15:24:40.5025972Z =================== sccache compilation log ===================
2022-04-15T15:24:40.5193244Z =========== If your build fails, please take a look at the log above for possible reasons ===========

See GitHub Actions build win-vs2019-cpu-py3 / build (6/8)

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

2022-04-15T14:16:17.2227477Z C:\actions-runner\...n: 'OptionalBase<__int64>' is not a base or member
2022-04-15T14:16:15.7240174Z [3130/5667] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_Metaprogramming_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_Metaprogramming_test.dir\util\Metaprogramming_test.cpp.obj  /out:bin\c10_Metaprogramming_test.exe /implib:lib\c10_Metaprogramming_test.lib /pdb:bin\c10_Metaprogramming_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-04-15T14:16:16.0907981Z [3131/5667] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_accumulate_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_accumulate_test.dir\util\accumulate_test.cpp.obj  /out:bin\c10_accumulate_test.exe /implib:lib\c10_accumulate_test.lib /pdb:bin\c10_accumulate_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-04-15T14:16:16.0977622Z [3132/5667] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_complex_math_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_complex_math_test.dir\util\complex_math_test.cpp.obj  /out:bin\c10_complex_math_test.exe /implib:lib\c10_complex_math_test.lib /pdb:bin\c10_complex_math_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-04-15T14:16:16.1532075Z [3133/5667] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_TypeList_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_TypeList_test.dir\util\TypeList_test.cpp.obj  /out:bin\c10_TypeList_test.exe /implib:lib\c10_TypeList_test.lib /pdb:bin\c10_TypeList_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-04-15T14:16:16.1802450Z [3134/5667] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_TypeIndex_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_TypeIndex_test.dir\util\TypeIndex_test.cpp.obj  /out:bin\c10_TypeIndex_test.exe /implib:lib\c10_TypeIndex_test.lib /pdb:bin\c10_TypeIndex_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-04-15T14:16:16.2722468Z [3135/5667] cmd.exe /C "cd . && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=c10\test\CMakeFiles\c10_InlineStreamGuard_test.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x64\link.exe  c10\test\CMakeFiles\c10_InlineStreamGuard_test.dir\core\impl\InlineStreamGuard_test.cpp.obj  /out:bin\c10_InlineStreamGuard_test.exe /implib:lib\c10_InlineStreamGuard_test.lib /pdb:bin\c10_InlineStreamGuard_test.pdb /version:0.0 /machine:x64 /ignore:4049 /ignore:4217 /ignore:4099 /INCREMENTAL:NO /subsystem:console  lib\c10.lib  lib\gmock.lib  lib\gtest.lib  lib\gtest_main.lib  lib\gtest.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
2022-04-15T14:16:17.2033743Z [3136/5667] cmd.exe /C "cd /D C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\caffe2 && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E copy C:/actions-runner/_work/pytorch/pytorch/pytorch-2172838427/caffe2/python/dyndep.py C:/actions-runner/_work/pytorch/pytorch/pytorch-2172838427/build/caffe2/python/dyndep.py"
2022-04-15T14:16:17.2203034Z [3137/5667] C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\win_tmp\bin\sccache-cl.exe   /TP -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\ideep\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\googletest\googlemock -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\googletest\googletest /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/pytorch-2172838427/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DUSE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD -std:c++14 /showIncludes /Foc10\test\CMakeFiles\c10_optional_test.dir\util\optional_test.cpp.obj /Fdc10\test\CMakeFiles\c10_optional_test.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\c10\test\util\optional_test.cpp
2022-04-15T14:16:17.2211216Z FAILED: c10/test/CMakeFiles/c10_optional_test.dir/util/optional_test.cpp.obj 
2022-04-15T14:16:17.2219275Z C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\win_tmp\bin\sccache-cl.exe   /TP -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\ideep\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\googletest\googlemock -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\googletest\googletest /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/pytorch-2172838427/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DUSE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD -std:c++14 /showIncludes /Foc10\test\CMakeFiles\c10_optional_test.dir\util\optional_test.cpp.obj /Fdc10\test\CMakeFiles\c10_optional_test.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\c10\test\util\optional_test.cpp
2022-04-15T14:16:17.2227477Z C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\c10/util/Optional.h(616): error C2614: 'c10::optional<c10::IntArrayRef>': illegal member initialization: 'OptionalBase<__int64>' is not a base or member
2022-04-15T14:16:17.2228567Z C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\c10/util/Optional.h(616): note: while compiling class template member function 'c10::optional<c10::IntArrayRef>::optional(void) noexcept'
2022-04-15T14:16:17.2229692Z C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\c10\test\util\optional_test.cpp(85): note: see reference to function template instantiation 'c10::optional<c10::IntArrayRef>::optional(void) noexcept' being compiled
2022-04-15T14:16:17.2230814Z C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\c10\test\util\optional_test.cpp(63): note: see reference to class template instantiation 'c10::optional<c10::IntArrayRef>' being compiled
2022-04-15T14:16:17.2231565Z Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64
2022-04-15T14:16:17.2232060Z Copyright (C) Microsoft Corporation.  All rights reserved.
2022-04-15T14:16:17.2232345Z 
2022-04-15T14:16:17.2233223Z [3138/5667] cmd.exe /C "cd /D C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\caffe2 && C:\Jenkins\Miniconda3\Library\bin\cmake.exe -E copy C:/actions-runner/_work/pytorch/pytorch/pytorch-2172838427/caffe2/python/examples/lmdb_create_example.py C:/actions-runner/_work/pytorch/pytorch/pytorch-2172838427/build/caffe2/python/examples/lmdb_create_example.py"
2022-04-15T14:16:17.2646188Z [3139/5667] C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\win_tmp\bin\sccache-cl.exe   /TP -DIDEEP_USE_MKL -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx_torch -DTH_BLAS_MKL -DUSE_EXTERNAL_MZCRC -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE=1 -D_OPENMP_NOFORCE_MANIFEST -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\aten\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427 -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\benchmark\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\caffe2\contrib\aten -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\third_party\onnx -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\third_party\foxi -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\c10\.. -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\gloo -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\protobuf\src -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\build\win_tmp\mkl\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\XNNPACK\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\eigen -IC:\Jenkins\Miniconda3\include -IC:\Jenkins\Miniconda3\lib\site-packages\numpy\core\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\cmake\..\third_party\pybind11\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\ideep\mkl-dnn\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\ideep\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\googletest\googlemock\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\googletest\googlemock -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\googletest\googletest\include -IC:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\third_party\googletest\googletest /DWIN32 /D_WINDOWS /GR /EHsc /w /bigobj -DUSE_PTHREADPOOL -openmp:experimental -IC:/actions-runner/_work/pytorch/pytorch/pytorch-2172838427/build/win_tmp/mkl/include -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DUSE_FBGEMM -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /MD /O2 /Ob2 /DNDEBUG /w /bigobj -DNDEBUG -DCAFFE2_USE_GLOO -DUSE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD -std:c++14 /showIncludes /Foc10\test\CMakeFiles\c10_either_test.dir\util\either_test.cpp.obj /Fdc10\test\CMakeFiles\c10_either_test.dir\ /FS -c C:\actions-runner\_work\pytorch\pytorch\pytorch-2172838427\c10\test\util\either_test.cpp
2022-04-15T14:16:17.2651396Z Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29337 for x64
2022-04-15T14:16:17.2651684Z Copyright (C) Microsoft Corporation.  All rights reserved.

See GitHub Actions build Test tools / test (7/8)

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

2022-04-15T14:02:09.8328733Z AssertionError: Li...44s 0.312s', '2021-02-10 11:13:[363 chars]94s']
2022-04-15T14:02:09.8325031Z +  'pytorch_linux_xenial_cuda11_1_cudnn8_py3_gcc7_test 407.616s',
2022-04-15T14:02:09.8325362Z +  '2021-01-06 20:58:28Z fcb69d2e '
2022-04-15T14:02:09.8325721Z +  'pytorch_linux_xenial_cuda9_2_cudnn7_py3_gcc7_test 287.044s']
2022-04-15T14:02:09.8325950Z 
2022-04-15T14:02:09.8326221Z ======================================================================
2022-04-15T14:02:09.8326580Z FAIL: test_help_examples (test_test_history.TestTestHistory) (i=2)
2022-04-15T14:02:09.8327038Z ----------------------------------------------------------------------
2022-04-15T14:02:09.8327336Z Traceback (most recent call last):
2022-04-15T14:02:09.8327782Z   File "/home/runner/work/pytorch/pytorch/tools/test/test_test_history.py", line 70, in test_help_examples
2022-04-15T14:02:09.8328143Z     self.assertEqual(actual, expected)
2022-04-15T14:02:09.8328733Z AssertionError: Lists differ: ['202[21 chars]78395', '2021-02-10 11:13:34Z 594a66d7', '2021[220 chars]5f1'] != ['202[21 chars]78395    0.644s    0.312s', '2021-02-10 11:13:[363 chars]94s']
2022-04-15T14:02:09.8328988Z 
2022-04-15T14:02:09.8329096Z First differing element 0:
2022-04-15T14:02:09.8329373Z '2021-02-10 12:18:50Z 3cf78395'
2022-04-15T14:02:09.8329696Z '2021-02-10 12:18:50Z 3cf78395    0.644s    0.312s'
2022-04-15T14:02:09.8329851Z 
2022-04-15T14:02:09.8330008Z - ['2021-02-10 12:18:50Z 3cf78395',
2022-04-15T14:02:09.8330316Z + ['2021-02-10 12:18:50Z 3cf78395    0.644s    0.312s',
2022-04-15T14:02:09.8330562Z ?                                ++++++++++++++++++++
2022-04-15T14:02:09.8330704Z 
2022-04-15T14:02:09.8330856Z -  '2021-02-10 11:13:34Z 594a66d7',

See GitHub Actions build linux-bionic-py3.8-gcc9-coverage / test (default, 1, 2, linux.2xlarge) (8/8)

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

2022-04-15T16:43:48.5495156Z Build left local git repository checkout dirty
2022-04-15T16:43:40.5466241Z real	87m36.391s
2022-04-15T16:43:40.5466662Z user	175m50.978s
2022-04-15T16:43:40.5466831Z sys	16m0.442s
2022-04-15T16:43:40.5467011Z + assert_git_not_dirty
2022-04-15T16:43:40.5467526Z + [[ linux-bionic-py3.8-gcc9-coverage-default-default != *rocm* ]]
2022-04-15T16:43:40.5467934Z + [[ linux-bionic-py3.8-gcc9-coverage-default-default != *xla* ]]
2022-04-15T16:43:40.5468876Z ++ git status --porcelain
2022-04-15T16:43:48.5494234Z + git_status='?? third_party/flatbuffers/'
2022-04-15T16:43:48.5494588Z + [[ -n ?? third_party/flatbuffers/ ]]
2022-04-15T16:43:48.5494891Z + echo 'Build left local git repository checkout dirty'
2022-04-15T16:43:48.5495156Z Build left local git repository checkout dirty
2022-04-15T16:43:48.5495424Z + echo 'git status --porcelain:'
2022-04-15T16:43:48.5495657Z git status --porcelain:
2022-04-15T16:43:48.5495888Z + echo '?? third_party/flatbuffers/'
2022-04-15T16:43:48.5496094Z ?? third_party/flatbuffers/
2022-04-15T16:43:48.5496272Z + exit 1
2022-04-15T16:43:48.5496415Z + cleanup
2022-04-15T16:43:48.5496571Z + retcode=1
2022-04-15T16:43:48.5499698Z + set +x
2022-04-15T16:43:48.5499970Z =================== sccache compilation log ===================
2022-04-15T16:43:48.5662167Z =========== If your build fails, please take a look at the log above for possible reasons ===========

This comment was automatically generated by Dr. CI (expand for details).

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

Click here to manually regenerate this comment.

heitorschueroff added a commit that referenced this pull request Aug 26, 2021
ghstack-source-id: ff639cf
Pull Request resolved: #64020
constexpr storage() noexcept : uninitialized_() {}

explicit constexpr storage(ArrayRefT& v) : value_(v) {}
explicit constexpr storage(const ArrayRefT& v) : value_(v) {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, you sure?

@ezyang ezyang requested a review from dagitses August 30, 2021 03:27
@ezyang
Copy link
Contributor

ezyang commented Aug 30, 2021

These seems OK I guess, deferring to @swolchok

@facebook-github-bot
Copy link
Contributor

Hi @heitorschueroff!

Thank you for your pull request.

We require contributors to sign our Contributor License Agreement, and yours needs attention.

You currently have a record in our system, but the CLA is no longer valid, and will need to be resubmitted.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

Copy link
Contributor

@swolchok swolchok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems fine; I'm a little bit reluctant to make a bunch of style changes to this code because it makes merging any upstream fixes that much harder, but perhaps we've passed that point anyway.

ArrayRefT value_;
const T* p{nullptr};
size_type sz{1};
} uninitialized_;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's silly, but I think removing the braces here will cause clang-tidy to complain. If it doesn't, great!

Do the braces vs = signs on the preceding two lines make a difference or is it just a style thing?

@github-actions
Copy link
Contributor

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions bot added the Stale label Apr 13, 2022
@dagitses dagitses closed this Apr 15, 2022
@dagitses dagitses deleted the gh/heitorschueroff/17/head branch April 15, 2022 13:56
@dagitses dagitses restored the gh/heitorschueroff/17/head branch April 15, 2022 13:56
@dagitses dagitses reopened this Apr 15, 2022
@github-actions github-actions bot closed this May 15, 2022
@facebook-github-bot facebook-github-bot deleted the gh/heitorschueroff/17/head branch June 15, 2022 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants