[INFO] cloning repository https://github.com/rjmholt/mips-disasm-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rjmholt/mips-disasm-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjmholt%2Fmips-disasm-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjmholt%2Fmips-disasm-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a26360d906f4b7a2bd57e00702baa590ed8ff044 [INFO] checking rjmholt/mips-disasm-rust against try#1383df06117fd218068d1f39fd5326256dd4a348 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjmholt%2Fmips-disasm-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rjmholt/mips-disasm-rust [INFO] finished tweaking git repo https://github.com/rjmholt/mips-disasm-rust [INFO] tweaked toml for git repo https://github.com/rjmholt/mips-disasm-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rjmholt/mips-disasm-rust on toolchain 1383df06117fd218068d1f39fd5326256dd4a348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rjmholt/mips-disasm-rust 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" "+1383df06117fd218068d1f39fd5326256dd4a348" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6361da0f19dc94088006faf74db2d557eb3c0b2d835888083c11fad7c14c1a59 [INFO] running `Command { std: "docker" "start" "-a" "6361da0f19dc94088006faf74db2d557eb3c0b2d835888083c11fad7c14c1a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6361da0f19dc94088006faf74db2d557eb3c0b2d835888083c11fad7c14c1a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6361da0f19dc94088006faf74db2d557eb3c0b2d835888083c11fad7c14c1a59", kill_on_drop: false }` [INFO] [stdout] 6361da0f19dc94088006faf74db2d557eb3c0b2d835888083c11fad7c14c1a59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66becb341cd95457a0b15fa3b2278952153f4d74ecdcae176cbade98a8a6d472 [INFO] running `Command { std: "docker" "start" "-a" "66becb341cd95457a0b15fa3b2278952153f4d74ecdcae176cbade98a8a6d472", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking mips v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/mips/read.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/mips/read.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | try!(write!(f, "{}:\n", self.label)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | try!(write!(f, "\t{}\n", instr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/mips/read.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/mips/read.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | try!(write!(f, "{}:\n", self.label)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | try!(write!(f, "\t{}\n", instr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mips/print.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn print_instrs(f: &mut Write, instr_vec: &Vec<(u32, Instr)>) -> () [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub fn print_instrs(f: &mut dyn Write, instr_vec: &Vec<(u32, Instr)>) -> () [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mips/print.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn print_instrs(f: &mut Write, instr_vec: &Vec<(u32, Instr)>) -> () [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub fn print_instrs(f: &mut dyn Write, instr_vec: &Vec<(u32, Instr)>) -> () [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_addr` [INFO] [stdout] --> src/mips/data.rs:398:27 [INFO] [stdout] | [INFO] [stdout] 398 | fn branch_addr(&self, curr_addr: u32) -> u32 [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_addr` [INFO] [stdout] --> src/mips/data.rs:419:27 [INFO] [stdout] | [INFO] [stdout] 419 | fn branch_addr(&self, curr_addr: u32) -> u32 [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_addr` [INFO] [stdout] --> src/mips/data.rs:398:27 [INFO] [stdout] | [INFO] [stdout] 398 | fn branch_addr(&self, curr_addr: u32) -> u32 [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `curr_addr` is never read [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | curr_addr = mips::START_ADDR; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_addr` [INFO] [stdout] --> src/mips/data.rs:419:27 [INFO] [stdout] | [INFO] [stdout] 419 | fn branch_addr(&self, curr_addr: u32) -> u32 [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rt` is never read [INFO] [stdout] --> src/mips/data.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct And [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 222 | pub rt: u8, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rs` is never read [INFO] [stdout] --> src/mips/data.rs:628:9 [INFO] [stdout] | [INFO] [stdout] 626 | pub struct SubU [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 627 | { [INFO] [stdout] 628 | pub rs: u8, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | Err(why) => panic!(why) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 67 | Err(why) => panic!("{}", why) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mips/print.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | write!(f, "[0x{:08x}] 0x{:08x} {}\n", curr_addr, code, instr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 9 | let _ = write!(f, "[0x{:08x}] 0x{:08x} {}\n", curr_addr, code, instr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mips/print.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | write!(f, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 12 | let _ = write!(f, "\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `curr_addr` is never read [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | curr_addr = mips::START_ADDR; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rt` is never read [INFO] [stdout] --> src/mips/data.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct And [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 222 | pub rt: u8, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rs` is never read [INFO] [stdout] --> src/mips/data.rs:628:9 [INFO] [stdout] | [INFO] [stdout] 626 | pub struct SubU [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 627 | { [INFO] [stdout] 628 | pub rs: u8, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | Err(why) => panic!(why) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 67 | Err(why) => panic!("{}", why) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mips/print.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | write!(f, "[0x{:08x}] 0x{:08x} {}\n", curr_addr, code, instr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 9 | let _ = write!(f, "[0x{:08x}] 0x{:08x} {}\n", curr_addr, code, instr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/mips/print.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | write!(f, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 12 | let _ = write!(f, "\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "66becb341cd95457a0b15fa3b2278952153f4d74ecdcae176cbade98a8a6d472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66becb341cd95457a0b15fa3b2278952153f4d74ecdcae176cbade98a8a6d472", kill_on_drop: false }` [INFO] [stdout] 66becb341cd95457a0b15fa3b2278952153f4d74ecdcae176cbade98a8a6d472