[INFO] cloning repository https://github.com/bsaintjo/vm-translator-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bsaintjo/vm-translator-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsaintjo%2Fvm-translator-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsaintjo%2Fvm-translator-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3fd0d10c93bf82df08892ebec1ff75198be78acb [INFO] checking bsaintjo/vm-translator-rs against try#5cafabc9f16561d7796554d5d241c3068e2bd97f for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsaintjo%2Fvm-translator-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bsaintjo/vm-translator-rs on toolchain 5cafabc9f16561d7796554d5d241c3068e2bd97f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bsaintjo/vm-translator-rs [INFO] finished tweaking git repo https://github.com/bsaintjo/vm-translator-rs [INFO] tweaked toml for git repo https://github.com/bsaintjo/vm-translator-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bsaintjo/vm-translator-rs 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" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "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-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7036984c47621bb7d5f3dccd7a5ff4b8add457ee72dfae95e27256fa2ac701fe [INFO] running `Command { std: "docker" "start" "-a" "7036984c47621bb7d5f3dccd7a5ff4b8add457ee72dfae95e27256fa2ac701fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7036984c47621bb7d5f3dccd7a5ff4b8add457ee72dfae95e27256fa2ac701fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7036984c47621bb7d5f3dccd7a5ff4b8add457ee72dfae95e27256fa2ac701fe", kill_on_drop: false }` [INFO] [stdout] 7036984c47621bb7d5f3dccd7a5ff4b8add457ee72dfae95e27256fa2ac701fe [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5cafabc9f16561d7796554d5d241c3068e2bd97f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce8e6dcf2315771ca12fd665f0693b5c8e6ad87d29accb587b04d532aadefcae [INFO] running `Command { std: "docker" "start" "-a" "ce8e6dcf2315771ca12fd665f0693b5c8e6ad87d29accb587b04d532aadefcae", kill_on_drop: false }` [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Checking vm-translator-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/babel.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | _ => todo!("{cmd:?}"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/babel.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 17 | Command::Push(Segment::Constant, x) => { [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 36 | Command::Push(segment, x) => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 51 | Command::Pop(segment, x) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 54 | Command::Add => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 90 | _ => todo!("{cmd:?}"), [INFO] [stdout] | ^ ...and 8 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `segment` [INFO] [stdout] --> src/babel.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | Command::Pop(segment, x) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/babel.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | Command::Pop(segment, x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Segment` is more private than the item `babel::Command::Push::0` [INFO] [stdout] --> src/babel.rs:319:10 [INFO] [stdout] | [INFO] [stdout] 319 | Push(Segment, i32), [INFO] [stdout] | ^^^^^^^ field `babel::Command::Push::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Segment` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/babel.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 371 | enum Segment { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Segment` is more private than the item `babel::Command::Pop::0` [INFO] [stdout] --> src/babel.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | Pop(Segment, i32), [INFO] [stdout] | ^^^^^^^ field `babel::Command::Pop::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Segment` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/babel.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 371 | enum Segment { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DM`, `AM`, `AD`, and `ADM` are never constructed [INFO] [stdout] --> src/assembly.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub enum Dest { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 111 | DM, [INFO] [stdout] | ^^ [INFO] [stdout] 112 | AM, [INFO] [stdout] | ^^ [INFO] [stdout] 113 | AD, [INFO] [stdout] | ^^ [INFO] [stdout] 114 | ADM, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JLE` is never constructed [INFO] [stdout] --> src/assembly.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub enum Jump { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 178 | JLE, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Jump` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `goto_sp`, `inc_sp`, `dec_sp`, and `pop_d` are never used [INFO] [stdout] --> src/babel.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl Translation { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | fn goto_sp(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | fn inc_sp(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | fn dec_sp(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | fn pop_d(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Stack`, `Pointer`, `Static`, `R13`, `R14`, and `R15` are never constructed [INFO] [stdout] --> src/babel.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 371 | enum Segment { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 372 | Stack, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 373 | Pointer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | Static, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | R13, [INFO] [stdout] | ^^^ [INFO] [stdout] 382 | R14, [INFO] [stdout] | ^^^ [INFO] [stdout] 383 | R15, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Segment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/babel.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | _ => todo!("{cmd:?}"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/babel.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 17 | Command::Push(Segment::Constant, x) => { [INFO] [stdout] | ----------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 36 | Command::Push(segment, x) => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 51 | Command::Pop(segment, x) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 54 | Command::Add => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 90 | _ => todo!("{cmd:?}"), [INFO] [stdout] | ^ ...and 8 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `segment` [INFO] [stdout] --> src/babel.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | Command::Pop(segment, x) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/babel.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | Command::Pop(segment, x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `babel::Segment` is more private than the item `babel::Command::Push::0` [INFO] [stdout] --> src/babel.rs:319:10 [INFO] [stdout] | [INFO] [stdout] 319 | Push(Segment, i32), [INFO] [stdout] | ^^^^^^^ field `babel::Command::Push::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `babel::Segment` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/babel.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 371 | enum Segment { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `babel::Segment` is more private than the item `babel::Command::Pop::0` [INFO] [stdout] --> src/babel.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | Pop(Segment, i32), [INFO] [stdout] | ^^^^^^^ field `babel::Command::Pop::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `babel::Segment` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/babel.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 371 | enum Segment { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DM`, `AM`, `AD`, and `ADM` are never constructed [INFO] [stdout] --> src/assembly.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub enum Dest { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 111 | DM, [INFO] [stdout] | ^^ [INFO] [stdout] 112 | AM, [INFO] [stdout] | ^^ [INFO] [stdout] 113 | AD, [INFO] [stdout] | ^^ [INFO] [stdout] 114 | ADM, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JLE` is never constructed [INFO] [stdout] --> src/assembly.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub enum Jump { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 178 | JLE, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Jump` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `goto_sp`, `inc_sp`, `dec_sp`, and `pop_d` are never used [INFO] [stdout] --> src/babel.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl Translation { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | fn goto_sp(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | fn inc_sp(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | fn dec_sp(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | fn pop_d(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Stack`, `Pointer`, `Static`, `R13`, `R14`, and `R15` are never constructed [INFO] [stdout] --> src/babel.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 371 | enum Segment { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 372 | Stack, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 373 | Pointer, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | Static, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | R13, [INFO] [stdout] | ^^^ [INFO] [stdout] 382 | R14, [INFO] [stdout] | ^^^ [INFO] [stdout] 383 | R15, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Segment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.75s [INFO] running `Command { std: "docker" "inspect" "ce8e6dcf2315771ca12fd665f0693b5c8e6ad87d29accb587b04d532aadefcae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce8e6dcf2315771ca12fd665f0693b5c8e6ad87d29accb587b04d532aadefcae", kill_on_drop: false }` [INFO] [stdout] ce8e6dcf2315771ca12fd665f0693b5c8e6ad87d29accb587b04d532aadefcae