[INFO] fetching crate kg-js 0.9.1... [INFO] building kg-js-0.9.1 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate kg-js 0.9.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate kg-js 0.9.1 [INFO] finished tweaking crates.io crate kg-js 0.9.1 [INFO] tweaked toml for crates.io crate kg-js 0.9.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kg-js 0.9.1 on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kg-js 0.9.1 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3f4e7c99e1aafc4fdedb1bb6161ef6f3e2ff917f320d1674f25bfc5e130d781 [INFO] running `Command { std: "docker" "start" "-a" "e3f4e7c99e1aafc4fdedb1bb6161ef6f3e2ff917f320d1674f25bfc5e130d781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3f4e7c99e1aafc4fdedb1bb6161ef6f3e2ff917f320d1674f25bfc5e130d781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f4e7c99e1aafc4fdedb1bb6161ef6f3e2ff917f320d1674f25bfc5e130d781", kill_on_drop: false }` [INFO] [stdout] e3f4e7c99e1aafc4fdedb1bb6161ef6f3e2ff917f320d1674f25bfc5e130d781 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 05c2f8d7999dcca5403b39f88753c2bdb38a1dc5645ef5f2dd788e801f110aa5 [INFO] running `Command { std: "docker" "start" "-a" "05c2f8d7999dcca5403b39f88753c2bdb38a1dc5645ef5f2dd788e801f110aa5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling smallbox v0.8.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling kg-js v0.9.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: kg-js@0.9.1: duk_js_compiler.c:5628:13: warning: variable 'num_stmts' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: kg-js@0.9.1: 5628 | duk_int_t num_stmts; [INFO] [stderr] warning: kg-js@0.9.1: | ^ [INFO] [stderr] warning: kg-js@0.9.1: 1 warning generated. [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ctx.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn get_context(&self, index: i32) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 233 | pub fn get_context(&self, index: i32) -> Result, JsError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.63s [INFO] running `Command { std: "docker" "inspect" "05c2f8d7999dcca5403b39f88753c2bdb38a1dc5645ef5f2dd788e801f110aa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05c2f8d7999dcca5403b39f88753c2bdb38a1dc5645ef5f2dd788e801f110aa5", kill_on_drop: false }` [INFO] [stdout] 05c2f8d7999dcca5403b39f88753c2bdb38a1dc5645ef5f2dd788e801f110aa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 357e02ce7eb0f9a2e1203a9c71fd4d3aab398bfa97cf60a2ff6909794d4aa642 [INFO] running `Command { std: "docker" "start" "-a" "357e02ce7eb0f9a2e1203a9c71fd4d3aab398bfa97cf60a2ff6909794d4aa642", kill_on_drop: false }` [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] warning: kg-js@0.9.1: duk_js_compiler.c:5628:13: warning: variable 'num_stmts' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: kg-js@0.9.1: 5628 | duk_int_t num_stmts; [INFO] [stderr] warning: kg-js@0.9.1: | ^ [INFO] [stderr] warning: kg-js@0.9.1: 1 warning generated. [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Compiling kg-js v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ctx.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn get_context(&self, index: i32) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 233 | pub fn get_context(&self, index: i32) -> Result, JsError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `alloc_count` is never used [INFO] [stdout] --> src/interop.rs:274:20 [INFO] [stdout] | [INFO] [stdout] 247 | impl AllocTracker { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn alloc_count(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ctx.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn get_context(&self, index: i32) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 233 | pub fn get_context(&self, index: i32) -> Result, JsError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<10 object files omitted>" "-l" "duktape" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libserde_json-7b6aea1f736c6948,libmemchr-fce70e7b22dffad4,libitoa-323c19d08fbe6984,libryu-f1913757cc38f137}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libsmallbox-320986c93c5b2707,libonce_cell-119600c39ce58a96,libserde-37d38441018bb056,liblog-b98f2dc96346a89c,libbitflags-282cfc8d4cec6943}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/kg-js-b5d5a3cd39d66186/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/kg_js-7611b5754e1a605b.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: function signature mismatch: time [INFO] [stdout] >>> defined as (i32) -> i32 in /opt/rustwide/target/wasm32-wasip1/debug/build/kg-js-b5d5a3cd39d66186/out/libduktape.a(579a92af114c0509-duktape.o) [INFO] [stdout] >>> defined as (i32) -> i64 in /opt/rustwide/rustup-home/toolchains/23647e694de8d0904848ad068b2e0ec2dd098c37/lib/rustlib/wasm32-wasip1/lib/self-contained/libc.a(time.o) [INFO] [stdout] [INFO] [stdout] rust-lld: warning: function signature mismatch: mktime [INFO] [stdout] >>> defined as (i32) -> i32 in /opt/rustwide/target/wasm32-wasip1/debug/build/kg-js-b5d5a3cd39d66186/out/libduktape.a(579a92af114c0509-duktape.o) [INFO] [stdout] >>> defined as (i32) -> i64 in /opt/rustwide/rustup-home/toolchains/23647e694de8d0904848ad068b2e0ec2dd098c37/lib/rustlib/wasm32-wasip1/lib/self-contained/libc.a(mktime.o) [INFO] [stdout] [INFO] [stdout] rust-lld: warning: function signature mismatch: difftime [INFO] [stdout] >>> defined as (i32, i32) -> f64 in /opt/rustwide/target/wasm32-wasip1/debug/build/kg-js-b5d5a3cd39d66186/out/libduktape.a(579a92af114c0509-duktape.o) [INFO] [stdout] >>> defined as (i64, i64) -> f64 in /opt/rustwide/rustup-home/toolchains/23647e694de8d0904848ad068b2e0ec2dd098c37/lib/rustlib/wasm32-wasip1/lib/self-contained/libc.a(difftime.o) [INFO] [stdout] [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/build/kg-js-b5d5a3cd39d66186/out/libduktape.a(579a92af114c0509-duktape.o): undefined symbol: _setjmp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/build/kg-js-b5d5a3cd39d66186/out/libduktape.a(579a92af114c0509-duktape.o): undefined symbol: longjmp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/build/kg-js-b5d5a3cd39d66186/out/libduktape.a(579a92af114c0509-duktape.o): undefined symbol: _setjmp [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: kg-js@0.9.1: duk_js_compiler.c:5628:13: warning: variable 'num_stmts' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: kg-js@0.9.1: 5628 | duk_int_t num_stmts; [INFO] [stderr] warning: kg-js@0.9.1: | ^ [INFO] [stderr] warning: kg-js@0.9.1: 1 warning generated. [INFO] [stderr] error: could not compile `kg-js` (lib test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "357e02ce7eb0f9a2e1203a9c71fd4d3aab398bfa97cf60a2ff6909794d4aa642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "357e02ce7eb0f9a2e1203a9c71fd4d3aab398bfa97cf60a2ff6909794d4aa642", kill_on_drop: false }` [INFO] [stdout] 357e02ce7eb0f9a2e1203a9c71fd4d3aab398bfa97cf60a2ff6909794d4aa642