[INFO] cloning repository https://github.com/overlookmotel/napi-rs-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/overlookmotel/napi-rs-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverlookmotel%2Fnapi-rs-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverlookmotel%2Fnapi-rs-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 473795e9ee7f75aa532bb2c16e8917cf12f751b4 [INFO] checking overlookmotel/napi-rs-test against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverlookmotel%2Fnapi-rs-test" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/overlookmotel/napi-rs-test [INFO] finished tweaking git repo https://github.com/overlookmotel/napi-rs-test [INFO] tweaked toml for git repo https://github.com/overlookmotel/napi-rs-test written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/overlookmotel/napi-rs-test on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/overlookmotel/napi-rs-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 70861d1902de19280a99dd2d06bb38a5a744400b548c6fbf3b2e7390877015fc [INFO] running `Command { std: "docker" "start" "70861d1902de19280a99dd2d06bb38a5a744400b548c6fbf3b2e7390877015fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70861d1902de19280a99dd2d06bb38a5a744400b548c6fbf3b2e7390877015fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "70861d1902de19280a99dd2d06bb38a5a744400b548c6fbf3b2e7390877015fc" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70861d1902de19280a99dd2d06bb38a5a744400b548c6fbf3b2e7390877015fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "70861d1902de19280a99dd2d06bb38a5a744400b548c6fbf3b2e7390877015fc" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling napi-build v1.2.1 [INFO] [stderr] Compiling convert_case v0.5.0 [INFO] [stderr] Checking napi-sys v2.1.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling napi-experiment v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling libmimalloc-sys v0.1.24 [INFO] [stderr] warning: libmimalloc-sys@0.1.24: In file included from c_src/mimalloc/src/static.c:25: [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/os.c: In function 'mi_os_resetx': [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/os.c:993:35: error: implicit declaration of function 'ATOMIC_VAR_INIT'; did you mean 'ATOMIC_FLAG_INIT'? [-Wimplicit-function-declaration] [INFO] [stderr] warning: libmimalloc-sys@0.1.24: 993 | static _Atomic(size_t) advice = ATOMIC_VAR_INIT(MADV_FREE); [INFO] [stderr] warning: libmimalloc-sys@0.1.24: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: libmimalloc-sys@0.1.24: | ATOMIC_FLAG_INIT [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/os.c:993:35: error: initializer element is not constant [INFO] [stderr] warning: libmimalloc-sys@0.1.24: In file included from c_src/mimalloc/src/static.c:38: [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/init.c: At top level: [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/init.c:28:3: error: initializer element is not constant [INFO] [stderr] warning: libmimalloc-sys@0.1.24: 28 | ATOMIC_VAR_INIT(0), // xthread_free [INFO] [stderr] warning: libmimalloc-sys@0.1.24: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/init.c:28:3: note: (near initialization for '_mi_page_empty.xthread_free') [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/init.c:29:3: error: initializer element is not constant [INFO] [stderr] warning: libmimalloc-sys@0.1.24: 29 | ATOMIC_VAR_INIT(0), // xheap [INFO] [stderr] warning: libmimalloc-sys@0.1.24: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/init.c:29:3: note: (near initialization for '_mi_page_empty.xheap') [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/init.c:94:3: error: initialization of 'mi_block_t *' {aka 'struct mi_block_s *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] [INFO] [stderr] warning: libmimalloc-sys@0.1.24: 94 | ATOMIC_VAR_INIT(NULL), [INFO] [stderr] warning: libmimalloc-sys@0.1.24: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/init.c:94:3: note: (near initialization for '_mi_heap_empty.thread_delayed_free') [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/init.c:94:3: error: initializer element is not constant [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/init.c:94:3: note: (near initialization for '_mi_heap_empty.thread_delayed_free') [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/init.c:126:3: error: initialization of 'mi_block_t *' {aka 'struct mi_block_s *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] [INFO] [stderr] warning: libmimalloc-sys@0.1.24: 126 | ATOMIC_VAR_INIT(NULL), [INFO] [stderr] warning: libmimalloc-sys@0.1.24: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/init.c:126:3: note: (near initialization for '_mi_heap_main.thread_delayed_free') [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/init.c:126:3: error: initializer element is not constant [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/init.c:126:3: note: (near initialization for '_mi_heap_main.thread_delayed_free') [INFO] [stderr] warning: libmimalloc-sys@0.1.24: c_src/mimalloc/src/init.c:328:39: error: initializer element is not constant [INFO] [stderr] warning: libmimalloc-sys@0.1.24: 328 | static _Atomic(size_t) thread_count = ATOMIC_VAR_INIT(1); [INFO] [stderr] warning: libmimalloc-sys@0.1.24: | ^~~~~~~~~~~~~~~ [INFO] [stderr] error: failed to run custom build command for `libmimalloc-sys v0.1.24` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/libmimalloc-sys/b0b757d8b6d0059b/out/build_script_build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CC = None [INFO] [stderr] CC = None [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] CFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,x87") [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CC = None [INFO] [stderr] CC = None [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] CFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,x87") [INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "c_src/mimalloc/include" "-I" "c_src/mimalloc/src" "-Wall" "-Wextra" "-ftls-model=initial-exec" "-DMI_SECURE=4" "-DMI_DEBUG=0" "-o" "/opt/rustwide/target/debug/build/libmimalloc-sys/80e4a58f05b530d4/out/c_src/mimalloc/src/static.o" "-c" "c_src/mimalloc/src/static.c" [INFO] [stderr] cargo:warning=In file included from c_src/mimalloc/src/static.c:25: [INFO] [stderr] cargo:warning=c_src/mimalloc/src/os.c: In function 'mi_os_resetx': [INFO] [stderr] cargo:warning=c_src/mimalloc/src/os.c:993:35: error: implicit declaration of function 'ATOMIC_VAR_INIT'; did you mean 'ATOMIC_FLAG_INIT'? [-Wimplicit-function-declaration] [INFO] [stderr] cargo:warning= 993 | static _Atomic(size_t) advice = ATOMIC_VAR_INIT(MADV_FREE); [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning= | ATOMIC_FLAG_INIT [INFO] [stderr] cargo:warning=c_src/mimalloc/src/os.c:993:35: error: initializer element is not constant [INFO] [stderr] cargo:warning=In file included from c_src/mimalloc/src/static.c:38: [INFO] [stderr] cargo:warning=c_src/mimalloc/src/init.c: At top level: [INFO] [stderr] cargo:warning=c_src/mimalloc/src/init.c:28:3: error: initializer element is not constant [INFO] [stderr] cargo:warning= 28 | ATOMIC_VAR_INIT(0), // xthread_free [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=c_src/mimalloc/src/init.c:28:3: note: (near initialization for '_mi_page_empty.xthread_free') [INFO] [stderr] cargo:warning=c_src/mimalloc/src/init.c:29:3: error: initializer element is not constant [INFO] [stderr] cargo:warning= 29 | ATOMIC_VAR_INIT(0), // xheap [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=c_src/mimalloc/src/init.c:29:3: note: (near initialization for '_mi_page_empty.xheap') [INFO] [stderr] cargo:warning=c_src/mimalloc/src/init.c:94:3: error: initialization of 'mi_block_t *' {aka 'struct mi_block_s *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] [INFO] [stderr] cargo:warning= 94 | ATOMIC_VAR_INIT(NULL), [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=c_src/mimalloc/src/init.c:94:3: note: (near initialization for '_mi_heap_empty.thread_delayed_free') [INFO] [stderr] cargo:warning=c_src/mimalloc/src/init.c:94:3: error: initializer element is not constant [INFO] [stderr] cargo:warning=c_src/mimalloc/src/init.c:94:3: note: (near initialization for '_mi_heap_empty.thread_delayed_free') [INFO] [stderr] cargo:warning=c_src/mimalloc/src/init.c:126:3: error: initialization of 'mi_block_t *' {aka 'struct mi_block_s *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] [INFO] [stderr] cargo:warning= 126 | ATOMIC_VAR_INIT(NULL), [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=c_src/mimalloc/src/init.c:126:3: note: (near initialization for '_mi_heap_main.thread_delayed_free') [INFO] [stderr] cargo:warning=c_src/mimalloc/src/init.c:126:3: error: initializer element is not constant [INFO] [stderr] cargo:warning=c_src/mimalloc/src/init.c:126:3: note: (near initialization for '_mi_heap_main.thread_delayed_free') [INFO] [stderr] cargo:warning=c_src/mimalloc/src/init.c:328:39: error: initializer element is not constant [INFO] [stderr] cargo:warning= 328 | static _Atomic(size_t) thread_count = ATOMIC_VAR_INIT(1); [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~ [INFO] [stderr] exit status: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "c_src/mimalloc/include" "-I" "c_src/mimalloc/src" "-Wall" "-Wextra" "-ftls-model=initial-exec" "-DMI_SECURE=4" "-DMI_DEBUG=0" "-o" "/opt/rustwide/target/debug/build/libmimalloc-sys/80e4a58f05b530d4/out/c_src/mimalloc/src/static.o" "-c" "c_src/mimalloc/src/static.c" with args "cc" did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "70861d1902de19280a99dd2d06bb38a5a744400b548c6fbf3b2e7390877015fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70861d1902de19280a99dd2d06bb38a5a744400b548c6fbf3b2e7390877015fc", kill_on_drop: false }` [INFO] [stdout] 70861d1902de19280a99dd2d06bb38a5a744400b548c6fbf3b2e7390877015fc