Created
September 19, 2022 12:16
-
-
Save palango/1f6e2c435906d6793e36c48aa5eb1ced to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ celo-monorepo git:(master) yarn build --ignore docs | |
yarn run v1.22.19 | |
$ yarn run lerna run build --ignore docs | |
$ /Users/paul/Projects/celo-monorepo/node_modules/.bin/lerna run build --ignore docs | |
lerna notice cli v3.16.0 | |
lerna info versioning independent | |
lerna info filter [ '!docs' ] | |
lerna info Executing command in 35 packages: "yarn run build" | |
lerna info run Ran npm script 'build' in '@celo/flake-tracker' in 0.2s: | |
$ echo flake-tracker does not require build | |
flake-tracker does not require build | |
lerna info run Ran npm script 'build' in '@celo/attestation-proxy' in 1.7s: | |
$ tsc -b . | |
lerna info run Ran npm script 'build' in '@celo/dev-utils' in 1.7s: | |
$ tsc -b . | |
lerna info run Ran npm script 'build' in '@celo/base' in 1.7s: | |
$ tsc -b . | |
lerna info run Ran npm script 'build' in '@celo/network-utils' in 1.7s: | |
$ tsc -b . | |
lerna info run Ran npm script 'build' in '@celo/wallet-hsm' in 1.5s: | |
$ tsc -b . | |
lerna info run Ran npm script 'build' in '@celo/utils' in 1.9s: | |
$ tsc -b . | |
lerna info run Ran npm script 'build' in '@celo/cryptographic-utils' in 1.7s: | |
$ tsc -b . | |
lerna info run Ran npm script 'build' in '@celo/phone-utils' in 1.7s: | |
$ tsc -b . | |
lerna info run Ran npm script 'build' in '@celo/connect' in 1.9s: | |
$ tsc -b . | |
lerna info run Ran npm script 'build' in '@celo/wallet-base' in 1.7s: | |
$ tsc -b . | |
lerna ERR! yarn run build exited 1 in '@celo/protocol' | |
lerna ERR! yarn run build stdout: | |
$ yarn build:sol && yarn build:ts | |
$ ts-node ./scripts/build.ts --solidity ${BUILD_DIR:-./build} | |
protocol: Compiling solidity to ./build | |
<--- Last few GCs ---> | |
[83516:0x140008000] 272 ms: Scavenge 51.2 (53.2) -> 51.1 (53.9) MB, 0.8 / 0.0 ms (average mu = 1.000, current mu = 1.000) allocation failure | |
[83516:0x140008000] 290 ms: Scavenge 55.2 (57.2) -> 55.2 (60.0) MB, 1.4 / 0.0 ms (average mu = 1.000, current mu = 1.000) allocation failure | |
<--- JS stacktrace ---> | |
==== JS stack trace ========================================= | |
Security context: 0x0001054008d1 <JSObject> | |
0: builtin exit frame: compileFunction(this=0x0001074403f9 <JSGlobal Object>,0x000113f7ffb1 <JSArray[5]>,0x000113f7ffd1 <JSArray[0]>,0x000104f804b1 <undefined>,0x000104f806e9 <false>,0x000104f804b1 <undefined>,0,0,0x0001059a30e1 <String[#76]: /Users/paul/Projects/celo-monorepo/node_modules/truffle/build/cli.bundled.js>,0x000111440119 <Very long string[21681194]>,0x0001074403f9 <JSGlobal Obje... | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | |
lerna ERR! yarn run build stderr: | |
FATAL ERROR: wasm code commit Allocation failed - process out of memory | |
1: 0x102e61d18 node::Abort() [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
2: 0x102e61e88 node::OnFatalError(char const*, char const*) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
3: 0x102f6970c v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
4: 0x102f696a0 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
5: 0x103398cdc v8::internal::wasm::WasmCodeManager::TryAllocate(unsigned long, void*) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
6: 0x1033998f8 v8::internal::wasm::NativeModule::CreateEmptyJumpTableInRegion(unsigned int, v8::base::AddressRegion) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
7: 0x103398ef4 v8::internal::wasm::NativeModule::AddCodeSpace(v8::base::AddressRegion) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
8: 0x10339974c v8::internal::wasm::NativeModule::NativeModule(v8::internal::wasm::WasmEngine*, v8::internal::wasm::WasmFeatures const&, bool, v8::internal::VirtualMemory, std::__1::shared_ptr<v8::internal::wasm::WasmModule const>, std::__1::shared_ptr<v8::internal::Counters>, std::__1::shared_ptr<v8::internal::wasm::NativeModule>*) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
9: 0x10339b674 v8::internal::wasm::WasmCodeManager::NewNativeModule(v8::internal::wasm::WasmEngine*, v8::internal::Isolate*, v8::internal::wasm::WasmFeatures const&, unsigned long, bool, std::__1::shared_ptr<v8::internal::wasm::WasmModule const>) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
10: 0x1033a18e8 v8::internal::wasm::WasmEngine::NewNativeModule(v8::internal::Isolate*, v8::internal::wasm::WasmFeatures const&, unsigned long, bool, std::__1::shared_ptr<v8::internal::wasm::WasmModule const>) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
11: 0x1033a182c v8::internal::wasm::WasmEngine::NewNativeModule(v8::internal::Isolate*, v8::internal::wasm::WasmFeatures const&, std::__1::shared_ptr<v8::internal::wasm::WasmModule const>) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
12: 0x10337f584 v8::internal::wasm::CompileToNativeModule(v8::internal::Isolate*, v8::internal::wasm::WasmFeatures const&, v8::internal::wasm::ErrorThrower*, std::__1::shared_ptr<v8::internal::wasm::WasmModule const>, v8::internal::wasm::ModuleWireBytes const&, v8::internal::Handle<v8::internal::FixedArray>*) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
13: 0x10339ee5c v8::internal::wasm::WasmEngine::SyncCompileTranslatedAsmJs(v8::internal::Isolate*, v8::internal::wasm::ErrorThrower*, v8::internal::wasm::ModuleWireBytes const&, v8::internal::Vector<unsigned char const>, v8::internal::Handle<v8::internal::HeapNumber>, v8::internal::LanguageMode) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
14: 0x102f93db4 v8::internal::AsmJsCompilationJob::FinalizeJobImpl(v8::internal::Handle<v8::internal::SharedFunctionInfo>, v8::internal::Isolate*) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
15: 0x102ffab98 v8::internal::UnoptimizedCompilationJob::FinalizeJob(v8::internal::Handle<v8::internal::SharedFunctionInfo>, v8::internal::Isolate*) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
16: 0x103001824 v8::internal::(anonymous namespace)::FinalizeUnoptimizedCompilationJob(v8::internal::UnoptimizedCompilationJob*, v8::internal::Handle<v8::internal::SharedFunctionInfo>, v8::internal::Isolate*) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
17: 0x102ffe644 v8::internal::(anonymous namespace)::CompileToplevel(v8::internal::ParseInfo*, v8::internal::Isolate*, v8::internal::IsCompiledScope*) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
18: 0x1030003fc v8::internal::Compiler::GetWrappedFunction(v8::internal::Handle<v8::internal::String>, v8::internal::Handle<v8::internal::FixedArray>, v8::internal::Handle<v8::internal::Context>, v8::internal::Compiler::ScriptDetails const&, v8::ScriptOriginOptions, v8::internal::ScriptData*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
19: 0x102f71fa0 v8::ScriptCompiler::CompileFunctionInContext(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, unsigned long, v8::Local<v8::String>*, unsigned long, v8::Local<v8::Object>*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason, v8::Local<v8::ScriptOrModule>*) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
20: 0x102e57b98 node::contextify::ContextifyContext::CompileFunction(v8::FunctionCallbackInfo<v8::Value> const&) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
21: 0x102fb70f4 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
22: 0x102fb6830 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
23: 0x102fb60d8 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
24: 0x1035267ec Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
25: 0x1034a8c40 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
26: 0x1034a8c40 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
27: 0x1034a8c40 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
28: 0x1034a8c40 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
29: 0x1034a8c40 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
30: 0x1034a8c40 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
31: 0x1034a8c40 Builtins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
32: 0x1034a5cc8 Builtins_JSEntryTrampoline [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
33: 0x1034a596c Builtins_JSEntry [/opt/homebrew/Cellar/node@12/12.22.12_1/bin/node] | |
34: 0x140008000 | |
Error: Command failed: yarn run --silent truffle compile --build_directory=./build | |
at checkExecSyncError (child_process.js:635:11) | |
at execSync (child_process.js:671:15) | |
at exec (/Users/paul/Projects/celo-monorepo/packages/protocol/scripts/build.ts:101:18) | |
at compile (/Users/paul/Projects/celo-monorepo/packages/protocol/scripts/build.ts:111:3) | |
at /Users/paul/Projects/celo-monorepo/packages/protocol/scripts/build.ts:169:5 | |
at step (/Users/paul/Projects/celo-monorepo/packages/protocol/scripts/build.ts:33:23) | |
at Object.next (/Users/paul/Projects/celo-monorepo/packages/protocol/scripts/build.ts:14:53) | |
at /Users/paul/Projects/celo-monorepo/packages/protocol/scripts/build.ts:8:71 | |
at new Promise (<anonymous>) | |
at __awaiter (/Users/paul/Projects/celo-monorepo/packages/protocol/scripts/build.ts:4:12) { | |
status: 1, | |
signal: null, | |
output: [ null, null, null ], | |
pid: 83515, | |
stdout: null, | |
stderr: null | |
} | |
error Command failed with exit code 1. | |
error Command failed with exit code 1. | |
lerna ERR! yarn run build exited 1 in '@celo/protocol' | |
lerna WARN complete Waiting for 2 child processes to exit. CTRL-C to exit immediately. | |
error Command failed with exit code 1. | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | |
error Command failed with exit code 1. | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment