[INFO] cloning repository https://github.com/Dan-wanna-M/bnf_sampler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dan-wanna-M/bnf_sampler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDan-wanna-M%2Fbnf_sampler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDan-wanna-M%2Fbnf_sampler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff906b2abe2be381f544dae03c264567634fbbc8 [INFO] building Dan-wanna-M/bnf_sampler against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDan-wanna-M%2Fbnf_sampler" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Dan-wanna-M/bnf_sampler [INFO] finished tweaking git repo https://github.com/Dan-wanna-M/bnf_sampler [INFO] tweaked toml for git repo https://github.com/Dan-wanna-M/bnf_sampler written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Dan-wanna-M/bnf_sampler 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 git repo https://github.com/Dan-wanna-M/bnf_sampler 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] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d3fdbf68d006717fb1ba9c03fb55dd9ce03d12ca20f6bc669502da9e81121a74 [INFO] running `Command { std: "docker" "start" "-a" "d3fdbf68d006717fb1ba9c03fb55dd9ce03d12ca20f6bc669502da9e81121a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3fdbf68d006717fb1ba9c03fb55dd9ce03d12ca20f6bc669502da9e81121a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3fdbf68d006717fb1ba9c03fb55dd9ce03d12ca20f6bc669502da9e81121a74", kill_on_drop: false }` [INFO] [stdout] d3fdbf68d006717fb1ba9c03fb55dd9ce03d12ca20f6bc669502da9e81121a74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f6dd27718dfe95ea9bd88ff074fea5c971b2ff36d40eaa7d4c8b9f95f369f476 [INFO] running `Command { std: "docker" "start" "-a" "f6dd27718dfe95ea9bd88ff074fea5c971b2ff36d40eaa7d4c8b9f95f369f476", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling qp-trie v0.8.1 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap_builder v4.4.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling libmimalloc-sys v0.1.34 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling mimalloc v0.1.38 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling bnf v0.5.0 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling bnf_sampler v0.3.8 (/opt/rustwide/workdir/bnf_sampler) [INFO] [stdout] warning: struct `SliceU8Wrapper` is never constructed [INFO] [stdout] --> bnf_sampler/src/utils.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | pub(crate) struct SliceU8Wrapper<'a>(pub &'a [u8]); [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] --> bnf_sampler/src/sampler.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 218 | input_token_id: Option, [INFO] [stdout] 219 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 219 | ) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> bnf_sampler/src/stack.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn allocate_a_stack(&mut self, capacity: usize) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn allocate_a_stack(&mut self, capacity: usize) -> Result, Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> bnf_sampler/src/trie.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn iter(&self, start_node_id: TrieNodeID) -> TerminalsTrieIter { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn iter(&self, start_node_id: TrieNodeID) -> TerminalsTrieIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap v4.4.2 [INFO] [stderr] Compiling console_playground v0.1.0 (/opt/rustwide/workdir/console_playground) [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" "<6 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libclap-9ee91554647559bc,libclap_builder-dcbab3a62681d90e,libstrsim-39ec6cd5a47c2372,libanstream-955292e55bb6d35b,libanstyle_query-ee07aca4bf4e93c3,libcolorchoice-f843408b53bb43d3,libanstyle_parse-efacd6bc7a160a6c,libutf8parse-c7a8e2c1750ad77c,libclap_lex-248ac8df0086d30c,libanstyle-dd9b05fde34e070d,libbnf_sampler-7f87d0ee308bb04d,libmimalloc-53a01e0499deb67f,liblibmimalloc_sys-8b84bf00938fa09c,liblibc-1b3cdbeccd2009cc,liblazy_static-36da267ce9339a94,libnohash_hasher-1d2a64c8bb32a3ee,libqp_trie-079b2dffe15d3585,libunreachable-1b53c0a84c72ecb3,libvoid-6b3fa066fea5aaeb,libdebug_unreachable-c9c9a28ad997f128,librustc_hash-a5d506436d1d3d05,libregex-1c98ba2252f53fdf,libregex_automata-8d0828b9ad332c7f,libaho_corasick-7a9d73be466e9f0d,libregex_syntax-6ce128974345f74c,libitertools-5c966367cdc49890,libeither-94178cbcc15c8efe,libbnf-2a7fefc8e97bec04,librand-d5adca643ddd1941,librand_chacha-1b8e4b7cda4089a0,libppv_lite86-486e4425e6fd09e6,librand_core-2f0d02eeefb56a02,libgetrandom-3c58890fd7e8a23c,libwasi-b9c6bfbff0bef49f,libcfg_if-50b02a9e3502ecf2,libserde-ca5863c8d580a80c,libnom-908efffee5af5609,libmemchr-b559ff6c4bd2cfb8,libbit_set-88cff056a71b8996,libbit_vec-646a760757a3d876,libanyhow-e0282c39fd5d4960}.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/libmimalloc-sys-7518e0433b8aca2b/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/console_playground-32a652a48029c364.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibmimalloc_sys-8b84bf00938fa09c.rlib: archive member 'static.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbnf_sampler-7f87d0ee308bb04d.rlib(bnf_sampler-7f87d0ee308bb04d.bnf_sampler.b07dc72335822245-cgu.05.rcgu.o): undefined symbol: mi_zalloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbnf_sampler-7f87d0ee308bb04d.rlib(bnf_sampler-7f87d0ee308bb04d.bnf_sampler.b07dc72335822245-cgu.05.rcgu.o): undefined symbol: mi_zalloc [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbnf_sampler-7f87d0ee308bb04d.rlib(bnf_sampler-7f87d0ee308bb04d.bnf_sampler.b07dc72335822245-cgu.05.rcgu.o): undefined symbol: mi_malloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbnf_sampler-7f87d0ee308bb04d.rlib(bnf_sampler-7f87d0ee308bb04d.bnf_sampler.b07dc72335822245-cgu.05.rcgu.o): undefined symbol: mi_malloc [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbnf_sampler-7f87d0ee308bb04d.rlib(bnf_sampler-7f87d0ee308bb04d.bnf_sampler.b07dc72335822245-cgu.05.rcgu.o): undefined symbol: mi_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbnf_sampler-7f87d0ee308bb04d.rlib(bnf_sampler-7f87d0ee308bb04d.bnf_sampler.b07dc72335822245-cgu.05.rcgu.o): undefined symbol: mi_realloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libbnf_sampler-7f87d0ee308bb04d.rlib(bnf_sampler-7f87d0ee308bb04d.bnf_sampler.b07dc72335822245-cgu.05.rcgu.o): undefined symbol: mi_realloc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `console_playground` (bin "console_playground") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "f6dd27718dfe95ea9bd88ff074fea5c971b2ff36d40eaa7d4c8b9f95f369f476", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6dd27718dfe95ea9bd88ff074fea5c971b2ff36d40eaa7d4c8b9f95f369f476", kill_on_drop: false }` [INFO] [stdout] f6dd27718dfe95ea9bd88ff074fea5c971b2ff36d40eaa7d4c8b9f95f369f476