[INFO] cloning repository https://github.com/adamchalmers/lox-vm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adamchalmers/lox-vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamchalmers%2Flox-vm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamchalmers%2Flox-vm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4bd45f36e6a8f37c1c12b4ca7fb3f52f6b38eba9 [INFO] testing adamchalmers/lox-vm against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamchalmers%2Flox-vm" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/adamchalmers/lox-vm [INFO] finished tweaking git repo https://github.com/adamchalmers/lox-vm [INFO] tweaked toml for git repo https://github.com/adamchalmers/lox-vm written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/adamchalmers/lox-vm on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/adamchalmers/lox-vm 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ec82e19edc0192508338b3b535f1cae882d949a56d97ca103f6f9dbaf1012c0 [INFO] running `Command { std: "docker" "start" "-a" "1ec82e19edc0192508338b3b535f1cae882d949a56d97ca103f6f9dbaf1012c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ec82e19edc0192508338b3b535f1cae882d949a56d97ca103f6f9dbaf1012c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ec82e19edc0192508338b3b535f1cae882d949a56d97ca103f6f9dbaf1012c0", kill_on_drop: false }` [INFO] [stdout] 1ec82e19edc0192508338b3b535f1cae882d949a56d97ca103f6f9dbaf1012c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8694eb7e457ceced0bc43913f9bd12f48e8418a36525f1d1df54d9311f5ebfd2 [INFO] running `Command { std: "docker" "start" "-a" "8694eb7e457ceced0bc43913f9bd12f48e8418a36525f1d1df54d9311f5ebfd2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling lox-vm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `add_constant` is never used [INFO] [stdout] --> src/chunk.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn add_constant(&mut self, value: Value) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emit_bytes` is never used [INFO] [stdout] --> src/compiler.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl<'src, 'chunk> Parser<'src, 'chunk> { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn emit_bytes(&mut self, a: u8, b: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lexeme` is never read [INFO] [stdout] --> src/tokenizer.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 237 | pub struct Token<'src> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 242 | pub lexeme: &'src str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tokenizer.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 245 | impl<'src> Token<'src> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 246 | pub fn new(token_type: TokenType, line: usize, lexeme: &'src str) -> Token<'src> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tokenizer.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(source: &str) -> Scanner { [INFO] [stdout] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(source: &str) -> Scanner<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.17s [INFO] running `Command { std: "docker" "inspect" "8694eb7e457ceced0bc43913f9bd12f48e8418a36525f1d1df54d9311f5ebfd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8694eb7e457ceced0bc43913f9bd12f48e8418a36525f1d1df54d9311f5ebfd2", kill_on_drop: false }` [INFO] [stdout] 8694eb7e457ceced0bc43913f9bd12f48e8418a36525f1d1df54d9311f5ebfd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5097873e810a28c01148fa1a15d30e223700aebad0f7cb9eb8e9d19923e1b946 [INFO] running `Command { std: "docker" "start" "-a" "5097873e810a28c01148fa1a15d30e223700aebad0f7cb9eb8e9d19923e1b946", kill_on_drop: false }` [INFO] [stderr] Compiling lox-vm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `add_constant` is never used [INFO] [stdout] --> src/chunk.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Chunk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn add_constant(&mut self, value: Value) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emit_bytes` is never used [INFO] [stdout] --> src/compiler.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl<'src, 'chunk> Parser<'src, 'chunk> { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | fn emit_bytes(&mut self, a: u8, b: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tokenizer.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 245 | impl<'src> Token<'src> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 246 | pub fn new(token_type: TokenType, line: usize, lexeme: &'src str) -> Token<'src> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tokenizer.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(source: &str) -> Scanner { [INFO] [stdout] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(source: &str) -> Scanner<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "5097873e810a28c01148fa1a15d30e223700aebad0f7cb9eb8e9d19923e1b946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5097873e810a28c01148fa1a15d30e223700aebad0f7cb9eb8e9d19923e1b946", kill_on_drop: false }` [INFO] [stdout] 5097873e810a28c01148fa1a15d30e223700aebad0f7cb9eb8e9d19923e1b946 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 572c920c83b530826487f374fb389f370594c4844ef78eb2a88f27b2b49f66c8 [INFO] running `Command { std: "docker" "start" "-a" "572c920c83b530826487f374fb389f370594c4844ef78eb2a88f27b2b49f66c8", kill_on_drop: false }` [INFO] [stderr] warning: method `add_constant` is never used [INFO] [stderr] --> src/chunk.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Chunk { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn add_constant(&mut self, value: Value) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `emit_bytes` is never used [INFO] [stderr] --> src/compiler.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 36 | impl<'src, 'chunk> Parser<'src, 'chunk> { [INFO] [stderr] | --------------------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 69 | fn emit_bytes(&mut self, a: u8, b: u8) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/tokenizer.rs:246:12 [INFO] [stderr] | [INFO] [stderr] 245 | impl<'src> Token<'src> { [INFO] [stderr] | ---------------------- associated function in this implementation [INFO] [stderr] 246 | pub fn new(token_type: TokenType, line: usize, lexeme: &'src str) -> Token<'src> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/tokenizer.rs:10:24 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new(source: &str) -> Scanner { [INFO] [stderr] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new(source: &str) -> Scanner<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `lox-vm` (bin "lox-vm" test) generated 4 warnings (run `cargo fix --bin "lox-vm" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/lox_vm-d02119ef856f35ad) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tokenizer::tests::lex_simple_statement ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "572c920c83b530826487f374fb389f370594c4844ef78eb2a88f27b2b49f66c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "572c920c83b530826487f374fb389f370594c4844ef78eb2a88f27b2b49f66c8", kill_on_drop: false }` [INFO] [stdout] 572c920c83b530826487f374fb389f370594c4844ef78eb2a88f27b2b49f66c8