[INFO] cloning repository https://github.com/kaz399/corsim0 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaz399/corsim0" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaz399%2Fcorsim0", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaz399%2Fcorsim0'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 977f930d7cf82521d2a500dca9de1acdf5d46ad9 [INFO] checking kaz399/corsim0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaz399%2Fcorsim0" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kaz399/corsim0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kaz399/corsim0 [INFO] finished tweaking git repo https://github.com/kaz399/corsim0 [INFO] tweaked toml for git repo https://github.com/kaz399/corsim0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 036fa7a713ab8222e9271f6c6d13cb0d8438344010c4e98e8181d2f4669fff1f [INFO] running `Command { std: "docker" "start" "-a" "036fa7a713ab8222e9271f6c6d13cb0d8438344010c4e98e8181d2f4669fff1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "036fa7a713ab8222e9271f6c6d13cb0d8438344010c4e98e8181d2f4669fff1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "036fa7a713ab8222e9271f6c6d13cb0d8438344010c4e98e8181d2f4669fff1f", kill_on_drop: false }` [INFO] [stdout] 036fa7a713ab8222e9271f6c6d13cb0d8438344010c4e98e8181d2f4669fff1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccc33b38a9f9ac1fcd7b84ae23ecb76414be8bfee950242ea5ad95723a044373 [INFO] running `Command { std: "docker" "start" "-a" "ccc33b38a9f9ac1fcd7b84ae23ecb76414be8bfee950242ea5ad95723a044373", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking corsim0 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/cpu.rs (29 fixes) [INFO] [stderr] Fixed src/lib.rs (3 fixes) [INFO] [stderr] Fixed src/instruction.rs (20 fixes) [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stdout] error[E0599]: no method named `register_device` found for struct `SystemMap` in the current scope [INFO] [stdout] --> src/lib.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | system_map.register_device(ram); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `SystemMap` [INFO] [stdout] | [INFO] [stdout] ::: src/device.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct SystemMap { [INFO] [stdout] | -------------------- method `register_device` not found for this [INFO] [stdout] ... [INFO] [stdout] 117 | fn register_device(&mut self, dev: MemoryMappedDevice); [INFO] [stdout] | --------------- the method is available for `SystemMap` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::device::SystemMapAccess;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write8` found for struct `SystemMap` in the current scope [INFO] [stdout] --> src/lib.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | system_map.write8(adrs, write_val); [INFO] [stdout] | ^^^^^^ method not found in `SystemMap` [INFO] [stdout] | [INFO] [stdout] ::: src/device.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct SystemMap { [INFO] [stdout] | -------------------- method `write8` not found for this [INFO] [stdout] ... [INFO] [stdout] 123 | fn write8(&mut self, adrs: u32, val: u8); [INFO] [stdout] | ------ the method is available for `SystemMap` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::device::SystemMapAccess;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read8` found for struct `SystemMap` in the current scope [INFO] [stdout] --> src/lib.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | let read_val = system_map.read8(adrs).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `SystemMap` [INFO] [stdout] | [INFO] [stdout] ::: src/device.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct SystemMap { [INFO] [stdout] | -------------------- method `read8` not found for this [INFO] [stdout] ... [INFO] [stdout] 119 | fn read8(&mut self, adrs: u32) -> Result; [INFO] [stdout] | ----- the method is available for `SystemMap` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::device::SystemMapAccess;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `register_device` found for struct `SystemMap` in the current scope [INFO] [stdout] --> src/lib.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | system_map.register_device(rom); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `SystemMap` [INFO] [stdout] | [INFO] [stdout] ::: src/device.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct SystemMap { [INFO] [stdout] | -------------------- method `register_device` not found for this [INFO] [stdout] ... [INFO] [stdout] 117 | fn register_device(&mut self, dev: MemoryMappedDevice); [INFO] [stdout] | --------------- the method is available for `SystemMap` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::device::SystemMapAccess;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read8` found for struct `SystemMap` in the current scope [INFO] [stdout] --> src/lib.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | let rom_val = system_map.read8(adrs).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `SystemMap` [INFO] [stdout] | [INFO] [stdout] ::: src/device.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct SystemMap { [INFO] [stdout] | -------------------- method `read8` not found for this [INFO] [stdout] ... [INFO] [stdout] 119 | fn read8(&mut self, adrs: u32) -> Result; [INFO] [stdout] | ----- the method is available for `SystemMap` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::device::SystemMapAccess;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write8` found for struct `SystemMap` in the current scope [INFO] [stdout] --> src/lib.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | system_map.write8(adrs, rom_val + 1); [INFO] [stdout] | ^^^^^^ method not found in `SystemMap` [INFO] [stdout] | [INFO] [stdout] ::: src/device.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct SystemMap { [INFO] [stdout] | -------------------- method `write8` not found for this [INFO] [stdout] ... [INFO] [stdout] 123 | fn write8(&mut self, adrs: u32, val: u8); [INFO] [stdout] | ------ the method is available for `SystemMap` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::device::SystemMapAccess;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read8` found for struct `SystemMap` in the current scope [INFO] [stdout] --> src/lib.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 74 | let rom_val2 = system_map.read8(adrs).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `SystemMap` [INFO] [stdout] | [INFO] [stdout] ::: src/device.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct SystemMap { [INFO] [stdout] | -------------------- method `read8` not found for this [INFO] [stdout] ... [INFO] [stdout] 119 | fn read8(&mut self, adrs: u32) -> Result; [INFO] [stdout] | ----- the method is available for `SystemMap` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::device::SystemMapAccess;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cpu.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new(system_map: SystemMap) -> M0System { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `miscellaneous_control_32` [INFO] [stdout] --> src/cpu.rs:695:4 [INFO] [stdout] | [INFO] [stdout] 695 | fn miscellaneous_control_32(_bytecode32: u32, system: &mut M0System) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `b_32` [INFO] [stdout] --> src/instruction.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn b_32(bytecode32: u32, system: &mut M0System) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hint_32` [INFO] [stdout] --> src/instruction.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn hint_32(_bytecode32: u32, system: &mut M0System) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mrs_32` [INFO] [stdout] --> src/instruction.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn mrs_32(_bytecode32: u32, system: &mut M0System) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `msr_32` [INFO] [stdout] --> src/instruction.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn msr_32(_bytecode32: u32, system: &mut M0System) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ROMADDR` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const ROMADDR: u32 = 0x00000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ROMSIZE` [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const ROMSIZE: usize = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RAMADDR` [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const RAMADDR: u32 = 0x10000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RAMSIZE` [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const RAMSIZE: usize = 128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `corsim0` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function is never used: `miscellaneous_control_32` [INFO] [stdout] --> src/cpu.rs:695:4 [INFO] [stdout] | [INFO] [stdout] 695 | fn miscellaneous_control_32(_bytecode32: u32, system: &mut M0System) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `b_32` [INFO] [stdout] --> src/instruction.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn b_32(bytecode32: u32, system: &mut M0System) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hint_32` [INFO] [stdout] --> src/instruction.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn hint_32(_bytecode32: u32, system: &mut M0System) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mrs_32` [INFO] [stdout] --> src/instruction.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn mrs_32(_bytecode32: u32, system: &mut M0System) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `msr_32` [INFO] [stdout] --> src/instruction.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn msr_32(_bytecode32: u32, system: &mut M0System) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `miscellaneous_control_32` [INFO] [stdout] --> src/cpu.rs:695:4 [INFO] [stdout] | [INFO] [stdout] 695 | fn miscellaneous_control_32(_bytecode32: u32, system: &mut M0System) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `b_32` [INFO] [stdout] --> src/instruction.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn b_32(bytecode32: u32, system: &mut M0System) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hint_32` [INFO] [stdout] --> src/instruction.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn hint_32(_bytecode32: u32, system: &mut M0System) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mrs_32` [INFO] [stdout] --> src/instruction.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn mrs_32(_bytecode32: u32, system: &mut M0System) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `msr_32` [INFO] [stdout] --> src/instruction.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn msr_32(_bytecode32: u32, system: &mut M0System) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ccc33b38a9f9ac1fcd7b84ae23ecb76414be8bfee950242ea5ad95723a044373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccc33b38a9f9ac1fcd7b84ae23ecb76414be8bfee950242ea5ad95723a044373", kill_on_drop: false }` [INFO] [stdout] ccc33b38a9f9ac1fcd7b84ae23ecb76414be8bfee950242ea5ad95723a044373