[INFO] cloning repository https://github.com/alexniemtsov/ya-rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexniemtsov/ya-rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexniemtsov%2Fya-rlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexniemtsov%2Fya-rlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9ea6f9eb647001cc20b42db2ff9d97288205e43 [INFO] building alexniemtsov/ya-rlox against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexniemtsov%2Fya-rlox" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alexniemtsov/ya-rlox [INFO] finished tweaking git repo https://github.com/alexniemtsov/ya-rlox [INFO] tweaked toml for git repo https://github.com/alexniemtsov/ya-rlox written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alexniemtsov/ya-rlox 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/alexniemtsov/ya-rlox 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] adc08d505c8c327a030d6cd4e746307b89e2e303ea08d54e306c822c9be0c78d [INFO] running `Command { std: "docker" "start" "-a" "adc08d505c8c327a030d6cd4e746307b89e2e303ea08d54e306c822c9be0c78d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "adc08d505c8c327a030d6cd4e746307b89e2e303ea08d54e306c822c9be0c78d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adc08d505c8c327a030d6cd4e746307b89e2e303ea08d54e306c822c9be0c78d", kill_on_drop: false }` [INFO] [stdout] adc08d505c8c327a030d6cd4e746307b89e2e303ea08d54e306c822c9be0c78d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 692a911fef79dd45c8b7ae7f8c2340ad10be65e86d19715ed548f209b40eea7a [INFO] running `Command { std: "docker" "start" "-a" "692a911fef79dd45c8b7ae7f8c2340ad10be65e86d19715ed548f209b40eea7a", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling gear-dlmalloc v0.2.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling gear-stack-buffer v1.8.1 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling gear-ss58 v1.8.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling str-buf v3.0.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling gsys v1.8.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling galloc v1.8.1 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling gear-core-errors v1.8.1 [INFO] [stderr] Compiling gmeta v1.7.1 [INFO] [stderr] Compiling gprimitives v1.8.1 [INFO] [stderr] Compiling gcore v1.8.1 [INFO] [stderr] Compiling gstd-codegen v1.8.1 [INFO] [stderr] Compiling gstd v1.8.1 [INFO] [stderr] Compiling io v0.0.2 [INFO] [stderr] Compiling ya_rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/callable.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interpreter` [INFO] [stdout] --> src/callable.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | fn call(&self, interpreter: &mut Interpreter, args: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interpreter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/callable.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 28 | fn call(&self, interpreter: &mut Interpreter, args: Vec) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interpreter.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | let value = self.evaluate(expr); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `declr` and `closure` are never read [INFO] [stdout] --> src/callable.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LoxFunction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 18 | declr: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | [INFO] [stdout] 20 | closure: Env, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoxFunction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/interpreter.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `synchronize` is never used [INFO] [stdout] --> src/parser.rs:561:8 [INFO] [stdout] | [INFO] [stdout] 560 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 561 | fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/rlox.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut i8r = Interpreter::new(ast); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [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" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libio-ae83ae3a8271bc73,libgstd-e76a36df8eab2b33,libwaker_fn-16875821f76d03a6,libgcore-207addeb09af11dd,libgear_stack_buffer-e5bb299671504ae2,libgsys-27128db3283ab372,libgprimitives-39e459e84debf8b1,libprimitive_types-fe791eb1ef8eb9c9,libimpl_codec-8a093d78f26ec19c,libuint-8bf2ef5c68882c75,libcrunchy-4b5a1623ce071555,libbyteorder-724208724ef3bd1b,libfixed_hash-4c8c4e7ce0368081,librustc_hex-17e71de51d436285,libgear_ss58-5fdab4465c7c43ac,libbs58-6cf44240e724dc8b,libgear_core_errors-5b9c0a17076eebb6,libderive_more-6e57afdd4f53d2c8,libenum_iterator-4787bd00d804cd1e,libhashbrown-8a530b8a4a2f17a2,libahash-8ba027ffa795dbd5,libonce_cell-904453684a9de20a,libzerocopy-f6c31b5b2a66a0e6,liballocator_api2-8e8748a307852ab5,libfutures-346c1ce5306454b9,libfutures_channel-5a4e49e78fdbda0a,libfutures_util-8d462c5192fdc9db,libpin_project_lite-19621c2fa8381040,libfutures_sink-21692452a2dca5e9,libfutures_task-e3ff4340f46fd4a0,libpin_utils-14025d01bce6a479,libfutures_core-44544f0394af9d1e,libgalloc-c9168eef1ea3ff55,libgear_dlmalloc-19ed966402da449e,libstr_buf-ba8fbf03e1eec4e3,libstatic_assertions-5a320074c6765347,libgmeta-94e28911f3e6c08f,libhex-515790ed2476f981,libblake2-8c6a3b68ba93108b,libdigest-5898911133ced6c8,libsubtle-5c0660ad43943a6b,libblock_buffer-560d4e062081421e,libcrypto_common-6f77c0127f7f183f,libgeneric_array-8902a99a8971d46a,libtypenum-4da84aea010a8886,libscale_info-309e54e80ed6fe77,libderive_more-bb42f64471f2eb4f,libparity_scale_codec-b3acf7c1908b1ca4,libarrayvec-e1eaf3377f1d004d,libbyte_slice_cast-487bc7e7335348d2,libconst_format-80e795baa1a699cb,libcfg_if-beec54d71ff48acf,libya_rlox-c9b9fd6f1c959308}.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" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/rlox-3fb24d64a4796d37.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libgear_dlmalloc-19ed966402da449e.rlib(gear_dlmalloc-19ed966402da449e.gear_dlmalloc.9d5c868fdd6d8e51-cgu.1.rcgu.o): undefined symbol: free_range [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libgear_dlmalloc-19ed966402da449e.rlib(gear_dlmalloc-19ed966402da449e.gear_dlmalloc.9d5c868fdd6d8e51-cgu.1.rcgu.o): undefined symbol: alloc [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libgear_dlmalloc-19ed966402da449e.rlib(gear_dlmalloc-19ed966402da449e.gear_dlmalloc.9d5c868fdd6d8e51-cgu.1.rcgu.o): undefined symbol: gr_debug [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ya_rlox` (bin "rlox") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "692a911fef79dd45c8b7ae7f8c2340ad10be65e86d19715ed548f209b40eea7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "692a911fef79dd45c8b7ae7f8c2340ad10be65e86d19715ed548f209b40eea7a", kill_on_drop: false }` [INFO] [stdout] 692a911fef79dd45c8b7ae7f8c2340ad10be65e86d19715ed548f209b40eea7a