AztecProtocol / aztec-packages

Apache License 2.0
202 stars 233 forks source link

Barretenberg failing to publish #3015

Closed kevaundray closed 1 year ago

kevaundray commented 1 year ago

Problem

When attempting to publish barretenberg, we get:

https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609

Copying and pasting the log incase it expires:

CC="clang"
[10](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:11)
  CMAKE_EXPORT_COMPILE_COMMANDS="ON"
[11](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:12)
  CXX="clang++"
[12](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:13)

[13](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:14)
-- The CXX compiler identification is Clang 16.0.0
[14](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:15)
-- The C compiler identification is Clang 16.0.0
[15](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:16)
-- Detecting CXX compiler ABI info
[16](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:17)
-- Detecting CXX compiler ABI info - done
[17](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:18)
-- Check for working CXX compiler: /usr/local/bin/clang++ - skipped
[18](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:19)
-- Detecting CXX compile features
[19](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:20)
-- Detecting CXX compile features - done
[20](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:21)
-- Detecting C compiler ABI info
[21](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:22)
-- Detecting C compiler ABI info - done
[22](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:23)
-- Check for working C compiler: /usr/local/bin/clang - skipped
[23](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:24)
-- Detecting C compile features
[24](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:25)
-- Detecting C compile features - done
[25](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:26)
-- Build type: RelWithAssert
[26](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:27)
-- Target architecture: westmere
[27](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:28)
-- Multithreading is enabled.
[28](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:29)
-- OMP multithreading is disabled.
[29](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:30)
-- Intel Thread Building Blocks is disabled.
[30](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:31)
CMake Deprecation Warning at build/_deps/gtest-src/CMakeLists.txt:4 (cmake_minimum_required):
[31](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:32)
  Compatibility with CMake < 3.5 will be removed from a future version of
[32](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:33)
  CMake.
[33](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:34)

[34](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:35)
  Update the VERSION argument <min> value or use a ...<max> suffix to tell
[35](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:36)
  CMake that the project does not need compatibility with older versions.
[36](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:37)

[37](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:38)

[38](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:39)
CMake Deprecation Warning at build/_deps/gtest-src/googletest/CMakeLists.txt:56 (cmake_minimum_required):
[39](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:40)
  Compatibility with CMake < 3.5 will be removed from a future version of
[40](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:41)
  CMake.
[41](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:42)

[42](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:43)
  Update the VERSION argument <min> value or use a ...<max> suffix to tell
[43](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:44)
  CMake that the project does not need compatibility with older versions.
[44](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:45)

[45](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:46)

[46](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:47)
CMake Warning (dev) at build/_deps/gtest-src/googletest/cmake/internal_utils.cmake:243 (find_package):
[47](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:48)
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
[48](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:49)
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
[49](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:50)
  the cmake_policy command to set the policy and suppress this warning.
[50](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:51)

[51](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:52)
Call Stack (most recent call first):
[52](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:53)
  build/_deps/gtest-src/googletest/CMakeLists.txt:91 (include)
[53](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:54)
This warning is for project developers.  Use -Wno-dev to suppress it.
[54](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:55)

[55](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:56)
-- Found PythonInterp: /usr/bin/python (found version "3.8.10") 
[56](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:57)
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
[57](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:58)
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
[58](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:59)
-- Looking for pthread_create in pthreads
[59](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:60)
-- Looking for pthread_create in pthreads - not found
[60](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:61)
-- Looking for pthread_create in pthread
[61](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:62)
-- Looking for pthread_create in pthread - found
[62](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:63)
-- Found Threads: TRUE  
[63](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:64)
-- Failed to find LLVM FileCheck
[64](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:65)
-- Found Git: /usr/bin/git (found version "2.42.0") 
[65](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:66)
-- git version: v1.7.1 normalized to 1.7.1
[66](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:67)
-- Version: 1.7.1
[67](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:68)
-- Looking for shm_open in rt
[68](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:69)
-- Looking for shm_open in rt - found
[69](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:70)
-- Performing Test HAVE_CXX_FLAG_WALL
[70](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:71)
-- Performing Test HAVE_CXX_FLAG_WALL - Success
[71](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:72)
-- Performing Test HAVE_CXX_FLAG_WEXTRA
[72](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:73)
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
[73](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:74)
-- Performing Test HAVE_CXX_FLAG_WSHADOW
[74](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:75)
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
[75](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:76)
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL
[76](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:77)
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success
[77](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:78)
-- Performing Test HAVE_CXX_FLAG_WERROR
[78](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:79)
-- Performing Test HAVE_CXX_FLAG_WERROR - Success
[79](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:80)
-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE
[80](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:81)
-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success
[81](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:82)
-- Performing Test HAVE_CXX_FLAG_PEDANTIC
[82](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:83)
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
[83](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:84)
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
[84](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:85)
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
[85](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:86)
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
[86](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:87)
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Success
[87](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:88)
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
[88](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:89)
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
[89](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:90)
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
[90](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:91)
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
[91](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:92)
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED
[92](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:93)
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - Success
[93](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:94)
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
[94](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:95)
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
[95](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:96)
-- Performing Test HAVE_CXX_FLAG_WD654
[96](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:97)
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
[97](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:98)
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
[98](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:99)
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Success
[99](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:100)
-- Enabling additional flags: -DINCLUDE_DIRECTORIES=/home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/build/_deps/benchmark-src/include
[100](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:101)
-- Compiling and running to test HAVE_THREAD_SAFETY_ATTRIBUTES
[101](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:102)
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- success
[102](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:103)
-- Performing Test HAVE_CXX_FLAG_COVERAGE
[103](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:104)
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
[104](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:105)
-- Compiling and running to test HAVE_STD_REGEX
[105](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:106)
-- Performing Test HAVE_STD_REGEX -- success
[106](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:107)
-- Compiling and running to test HAVE_GNU_POSIX_REGEX
[107](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:108)
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
[108](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:109)
-- Compiling and running to test HAVE_POSIX_REGEX
[109](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:110)
-- Performing Test HAVE_POSIX_REGEX -- success
[110](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:111)
-- Compiling and running to test HAVE_STEADY_CLOCK
[111](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:112)
-- Performing Test HAVE_STEADY_CLOCK -- success
[112](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:113)
-- Check if compiler accepts -pthread
[113](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:114)
-- Check if compiler accepts -pthread - yes
[114](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:115)
-- Using optimized assembly for field arithmetic.
[115](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:116)
-- Compiling all-in-one barretenberg archive
[116](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:117)
-- Configuring done (13.5s)
[117](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:118)
-- Generating done (0.2s)
[118](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:119)
-- Build files have been written to: /home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/build
[119](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:120)
[1/152] Creating directories for 'msgpack-c'
[120](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:121)
[2/152] Performing download step (git clone) for 'msgpack-c'
[121](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:122)
Cloning into 'msgpack-c'...
[122](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:123)
HEAD is now at af447c28 fix(wasm): Throw => THROW
[123](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:124)
[3/152] No update step for 'msgpack-c'
[124](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:125)
[4/152] No patch step for 'msgpack-c'
[125](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:126)
[5/152] No configure step for 'msgpack-c'
[126](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:127)
[6/152] No build step for 'msgpack-c'
[127](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:128)
[7/152] No install step for 'msgpack-c'
[128](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:129)
[8/152] Completed 'msgpack-c'
[129](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:130)
[9/152] Building CXX object src/barretenberg/env/CMakeFiles/env_objects.dir/logstr.cpp.o
[130](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:131)
[10/152] Building CXX object src/barretenberg/env/CMakeFiles/env_objects.dir/data_store.cpp.o
[131](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:132)
[11/152] Building CXX object src/barretenberg/env/CMakeFiles/env_objects.dir/hardware_concurrency.cpp.o
[132](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:133)
[12/152] Linking CXX static library lib/libenv.a
[133](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:134)
[13/152] Building CXX object src/barretenberg/common/CMakeFiles/common_objects.dir/mem.cpp.o
[134](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:135)
[14/152] Building CXX object src/barretenberg/common/CMakeFiles/common_objects.dir/c_bind.cpp.o
[135](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:136)
[15/152] Building CXX object src/barretenberg/common/CMakeFiles/common_objects.dir/parallel_for_atomic_pool.cpp.o
[136](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:137)
[16/152] Building CXX object src/barretenberg/common/CMakeFiles/common_objects.dir/parallel_for_omp.cpp.o
[137](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:138)
[17/152] Building CXX object src/barretenberg/common/CMakeFiles/common_objects.dir/parallel_for_mutex_pool.cpp.o
[138](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:139)
[18/152] Building CXX object src/barretenberg/common/CMakeFiles/common_objects.dir/parallel_for_moody.cpp.o
[139](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:140)
[19/152] Building CXX object src/barretenberg/common/CMakeFiles/common_objects.dir/parallel_for_spawning.cpp.o
[140](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:141)
[20/152] Building CXX object src/barretenberg/common/CMakeFiles/common_objects.dir/parallel_for_queued.cpp.o
[141](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:142)
[21/152] Building CXX object src/barretenberg/common/CMakeFiles/common_objects.dir/thread_utils.cpp.o
[142](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:143)
[22/152] Building CXX object src/barretenberg/common/CMakeFiles/common_objects.dir/thread.cpp.o
[143](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:144)
[23/152] Building CXX object src/barretenberg/common/CMakeFiles/common_objects.dir/slab_allocator.cpp.o
[144](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:145)
[24/152] Building CXX object src/barretenberg/srs/CMakeFiles/srs_objects.dir/c_bind.cpp.o
[145](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:146)
FAILED: src/barretenberg/srs/CMakeFiles/srs_objects.dir/c_bind.cpp.o 
[146](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:147)
/usr/local/bin/clang++ -DNO_OMP_MULTITHREADING -DNO_TBB -I/home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src -I/home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/build/_deps/msgpack-c/src/msgpack-c/include -std=gnu++20 -O3 -march=westmere -pthread -Werror -Wall -Wextra -Wconversion -Wsign-conversion -Wfatal-errors -fcolor-diagnostics -fconstexpr-steps=100000000 -MD -MT src/barretenberg/srs/CMakeFiles/srs_objects.dir/c_bind.cpp.o -MF src/barretenberg/srs/CMakeFiles/srs_objects.dir/c_bind.cpp.o.d -o src/barretenberg/srs/CMakeFiles/srs_objects.dir/c_bind.cpp.o -c /home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/c_bind.cpp
[147](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:148)
In file included from /home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/c_bind.cpp:2:
[148](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:149)
In file included from /home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/./io.hpp:2:
[149](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:150)
In file included from /home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/../ecc/curves/bn254/bn254.hpp:6:
[150](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:151)
In file included from /home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/../ecc/curves/bn254/../bn254/g1.hpp:3:
[151](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:152)
In file included from /home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/../ecc/curves/bn254/../../groups/group.hpp:4:
[152](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:153)
In file included from /home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/../ecc/curves/bn254/../../groups/./affine_element.hpp:189:
[153](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:154)
/home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/../ecc/curves/bn254/../../groups/./affine_element_impl.hpp:260:26: fatal error: variable of non-literal type 'std::vector<uint8_t>' (aka 'vector<unsigned char>') cannot be defined in a constexpr function before C++2b
[154](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:155)
    std::vector<uint8_t> target_seed(seed);
[155](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:156)
                         ^
[156](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:157)
/usr/lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_vector.h:389:11: note: 'vector<unsigned char>' is not literal because it is not an aggregate and has no constexpr constructors other than copy or move constructors
[157](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:158)
    class vector : protected _Vector_base<_Tp, _Alloc>
[158](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:159)
          ^
[159](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:160)
1 error generated.
[160](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:161)
[25/152] Building CXX object src/barretenberg/numeric/CMakeFiles/numeric_objects.dir/random/engine.cpp.o
[161](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:162)
[26/152] Building CXX object src/barretenberg/srs/CMakeFiles/srs_objects.dir/factories/file_crs_factory.cpp.o
[162](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:163)
FAILED: src/barretenberg/srs/CMakeFiles/srs_objects.dir/factories/file_crs_factory.cpp.o 
[163](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:164)
/usr/local/bin/clang++ -DNO_OMP_MULTITHREADING -DNO_TBB -I/home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src -I/home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/build/_deps/msgpack-c/src/msgpack-c/include -std=gnu++20 -O3 -march=westmere -pthread -Werror -Wall -Wextra -Wconversion -Wsign-conversion -Wfatal-errors -fcolor-diagnostics -fconstexpr-steps=100000000 -MD -MT src/barretenberg/srs/CMakeFiles/srs_objects.dir/factories/file_crs_factory.cpp.o -MF src/barretenberg/srs/CMakeFiles/srs_objects.dir/factories/file_crs_factory.cpp.o.d -o src/barretenberg/srs/CMakeFiles/srs_objects.dir/factories/file_crs_factory.cpp.o -c /home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/factories/file_crs_factory.cpp
[164](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:165)
In file included from /home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/factories/file_crs_factory.cpp:1:
[165](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:166)
In file included from /home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/factories/file_crs_factory.hpp:2:
[166](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:167)
In file included from /home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/factories/../io.hpp:2:
[167](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:168)
In file included from /home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/factories/../../ecc/curves/bn254/bn254.hpp:6:
[168](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:169)
In file included from /home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/factories/../../ecc/curves/bn254/../bn254/g1.hpp:3:
[169](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:170)
In file included from /home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/factories/../../ecc/curves/bn254/../../groups/group.hpp:4:
[170](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:171)
In file included from /home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/factories/../../ecc/curves/bn254/../../groups/./affine_element.hpp:189:
[171](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:172)
/home/runner/work/aztec-packages/aztec-packages/barretenberg/cpp/src/barretenberg/srs/factories/../../ecc/curves/bn254/../../groups/./affine_element_impl.hpp:260:26: fatal error: variable of non-literal type 'std::vector<uint8_t>' (aka 'vector<unsigned char>') cannot be defined in a constexpr function before C++2b
[172](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:173)
    std::vector<uint8_t> target_seed(seed);
[173](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:174)
                         ^
[174](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:175)
/usr/lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_vector.h:389:11: note: 'vector<unsigned char>' is not literal because it is not an aggregate and has no constexpr constructors other than copy or move constructors
[175](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:176)
    class vector : protected _Vector_base<_Tp, _Alloc>
[176](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:177)
          ^
[177](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:178)
1 error generated.
[178](https://github.com/AztecProtocol/aztec-packages/actions/runs/6630613410/job/18012362609#step:6:179)
ninja: build stopped: subcommand failed.
kevaundray commented 1 year ago

Its unclear why this does not trigger on the mainframe

kevaundray commented 1 year ago

closed by #3019