[INFO] cloning repository https://github.com/Aweranx/remu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aweranx/remu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAweranx%2Fremu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAweranx%2Fremu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4dece0e2eb5c70a903aa7f22350db5d5a3ea1361
[INFO] checking Aweranx/remu against master#a26e97be8826d408309fffbd8168362365719f50 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAweranx%2Fremu" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Aweranx/remu on toolchain a26e97be8826d408309fffbd8168362365719f50
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Aweranx/remu
[INFO] finished tweaking git repo https://github.com/Aweranx/remu
[INFO] tweaked toml for git repo https://github.com/Aweranx/remu written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Aweranx/remu 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" "+a26e97be8826d408309fffbd8168362365719f50" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded scroll_derive v0.12.0
[INFO] [stderr]   Downloaded scroll v0.12.0
[INFO] [stderr]   Downloaded goblin v0.9.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] da9647c3fbb8abf8a4bc6267f8163a25f64ee2949c5b67d696c401f2ddb10bdf
[INFO] running `Command { std: "docker" "start" "-a" "da9647c3fbb8abf8a4bc6267f8163a25f64ee2949c5b67d696c401f2ddb10bdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da9647c3fbb8abf8a4bc6267f8163a25f64ee2949c5b67d696c401f2ddb10bdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da9647c3fbb8abf8a4bc6267f8163a25f64ee2949c5b67d696c401f2ddb10bdf", kill_on_drop: false }`
[INFO] [stdout] da9647c3fbb8abf8a4bc6267f8163a25f64ee2949c5b67d696c401f2ddb10bdf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 589efb55eacf7eab42739974717792d84c7999e9470ea2d9514bd53863c9428f
[INFO] running `Command { std: "docker" "start" "-a" "589efb55eacf7eab42739974717792d84c7999e9470ea2d9514bd53863c9428f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.15
[INFO] [stderr]     Checking plain v0.2.3
[INFO] [stderr]     Checking log v0.4.25
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling scroll_derive v0.12.0
[INFO] [stderr]     Checking scroll v0.12.0
[INFO] [stderr]     Checking goblin v0.9.3
[INFO] [stderr]     Checking remu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/elfdef.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorKind`, `SeekFrom`, and `Seek`
[INFO] [stdout]  --> src/mmu.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{ ErrorKind, Read, Seek, SeekFrom};
[INFO] [stdout]   |                ^^^^^^^^^        ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `elf`
[INFO] [stdout]  --> src/mmu.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use goblin::{elf, elf::Elf, elf::program_header::ProgramHeader, elf::program_header::PT_LOAD};
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EI_NIDENT`
[INFO] [stdout]  --> src/mmu.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::elfdef::{EI_CLASS, EI_NIDENT, ELFCLASS64, ELFMAG, EM_RISCV};
[INFO] [stdout]   |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/machine.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let mut file = File::open(path)?;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EI_NIDENT` is never used
[INFO] [stdout]  --> src/elfdef.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const EI_NIDENT: usize = 16;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ELFCLASSNONE` is never used
[INFO] [stdout]   --> src/elfdef.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const ELFCLASSNONE: u8 = 0;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ELFCLASS32` is never used
[INFO] [stdout]   --> src/elfdef.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const ELFCLASS32: u8 = 1;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ELFCLASSNUM` is never used
[INFO] [stdout]   --> src/elfdef.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub const ELFCLASSNUM: u8 = 3;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PF_X` is never used
[INFO] [stdout]   --> src/elfdef.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const PF_X: u32 = 0x1;
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PF_W` is never used
[INFO] [stdout]   --> src/elfdef.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const PF_W: u32 = 0x2;
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PF_R` is never used
[INFO] [stdout]   --> src/elfdef.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub const PF_R: u32 = 0x4;
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `host_alloc`, `alloc`, and `base` are never read
[INFO] [stdout]   --> src/mmu.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Mmu {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 12 |     pub entry: u64,
[INFO] [stdout] 13 |     pub host_alloc: u64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 14 |     pub alloc: u64,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 15 |     pub base: u64,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Mmu` 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: fields `gp_regs` and `pc` are never read
[INFO] [stdout]   --> src/machine.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct State {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 10 |     pub gp_regs: [u64; 32],
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 11 |     pub pc: u64,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `state` is never read
[INFO] [stdout]   --> src/machine.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Machine {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 19 |     pub state: State,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Machine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/elfdef.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorKind`, `SeekFrom`, and `Seek`
[INFO] [stdout]  --> src/mmu.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{ ErrorKind, Read, Seek, SeekFrom};
[INFO] [stdout]   |                ^^^^^^^^^        ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `elf`
[INFO] [stdout]  --> src/mmu.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use goblin::{elf, elf::Elf, elf::program_header::ProgramHeader, elf::program_header::PT_LOAD};
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EI_NIDENT`
[INFO] [stdout]  --> src/mmu.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::elfdef::{EI_CLASS, EI_NIDENT, ELFCLASS64, ELFMAG, EM_RISCV};
[INFO] [stdout]   |                               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/machine.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let mut file = File::open(path)?;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EI_NIDENT` is never used
[INFO] [stdout]  --> src/elfdef.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const EI_NIDENT: usize = 16;
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ELFCLASSNONE` is never used
[INFO] [stdout]   --> src/elfdef.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const ELFCLASSNONE: u8 = 0;
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ELFCLASS32` is never used
[INFO] [stdout]   --> src/elfdef.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const ELFCLASS32: u8 = 1;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ELFCLASSNUM` is never used
[INFO] [stdout]   --> src/elfdef.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub const ELFCLASSNUM: u8 = 3;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PF_X` is never used
[INFO] [stdout]   --> src/elfdef.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const PF_X: u32 = 0x1;
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PF_W` is never used
[INFO] [stdout]   --> src/elfdef.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const PF_W: u32 = 0x2;
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PF_R` is never used
[INFO] [stdout]   --> src/elfdef.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub const PF_R: u32 = 0x4;
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `host_alloc`, `alloc`, and `base` are never read
[INFO] [stdout]   --> src/mmu.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Mmu {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 12 |     pub entry: u64,
[INFO] [stdout] 13 |     pub host_alloc: u64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 14 |     pub alloc: u64,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 15 |     pub base: u64,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Mmu` 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: fields `gp_regs` and `pc` are never read
[INFO] [stdout]   --> src/machine.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct State {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 10 |     pub gp_regs: [u64; 32],
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 11 |     pub pc: u64,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `state` is never read
[INFO] [stdout]   --> src/machine.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Machine {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 19 |     pub state: State,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Machine` 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 9.00s
[INFO] running `Command { std: "docker" "inspect" "589efb55eacf7eab42739974717792d84c7999e9470ea2d9514bd53863c9428f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "589efb55eacf7eab42739974717792d84c7999e9470ea2d9514bd53863c9428f", kill_on_drop: false }`
[INFO] [stdout] 589efb55eacf7eab42739974717792d84c7999e9470ea2d9514bd53863c9428f
