[INFO] cloning repository https://github.com/huhlig/vcpu16-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huhlig/vcpu16-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuhlig%2Fvcpu16-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuhlig%2Fvcpu16-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4fda8e36fbaae7dddb79f5cb96646205d36ef677 [INFO] testing huhlig/vcpu16-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuhlig%2Fvcpu16-rs" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huhlig/vcpu16-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/huhlig/vcpu16-rs [INFO] finished tweaking git repo https://github.com/huhlig/vcpu16-rs [INFO] tweaked toml for git repo https://github.com/huhlig/vcpu16-rs written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/huhlig/vcpu16-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 461df0d31348d6e1a281c4264f079401b01c15947cff88e1ef081027fa89ffdc [INFO] running `Command { std: "docker" "start" "-a" "461df0d31348d6e1a281c4264f079401b01c15947cff88e1ef081027fa89ffdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "461df0d31348d6e1a281c4264f079401b01c15947cff88e1ef081027fa89ffdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "461df0d31348d6e1a281c4264f079401b01c15947cff88e1ef081027fa89ffdc", kill_on_drop: false }` [INFO] [stdout] 461df0d31348d6e1a281c4264f079401b01c15947cff88e1ef081027fa89ffdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21fc5b98bd838f538fea84f92105fda86455b4507ef935dbd2063ce972a9cdaf [INFO] running `Command { std: "docker" "start" "-a" "21fc5b98bd838f538fea84f92105fda86455b4507ef935dbd2063ce972a9cdaf", kill_on_drop: false }` [INFO] [stderr] Compiling vcpu16 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: 2 positional arguments in format string, but there is 1 argument [INFO] [stdout] --> src/system2/error.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | writeln!(f, "Clock Halted: {} Cycles: {}", match f { [INFO] [stdout] | ____________________________________^^_________^^___- [INFO] [stdout] 35 | | &SystemError::ClockHalted => "SystemError::ClockHalted", [INFO] [stdout] 36 | | &SystemError::HardwareFailure => "SystemError::HardwareFailure", [INFO] [stdout] 37 | | &SystemError::AddressOverflow => "SystemError::AddressOverflow", [INFO] [stdout] 38 | | &SystemError::InterruptOverflow => "SystemError::InterruptOverflow", [INFO] [stdout] 39 | | &SystemError::InterruptUnderflow => "SystemError::InterruptUnderflow", [INFO] [stdout] 40 | | }) [INFO] [stdout] | |_________- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 2 positional arguments in format string, but there is 1 argument [INFO] [stdout] --> src/system2/error.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | writeln!(f, "Clock Halted: {} Cycles: {}", match f { [INFO] [stdout] | ____________________________________^^_________^^___- [INFO] [stdout] 47 | | &SystemError::ClockHalted => "SystemError::ClockHalted", [INFO] [stdout] 48 | | &SystemError::HardwareFailure => "SystemError::HardwareFailure", [INFO] [stdout] 49 | | &SystemError::AddressOverflow => "SystemError::AddressOverflow", [INFO] [stdout] 50 | | &SystemError::InterruptOverflow => "SystemError::InterruptOverflow", [INFO] [stdout] 51 | | &SystemError::InterruptUnderflow => "SystemError::InterruptUnderflow", [INFO] [stdout] 52 | | }) [INFO] [stdout] | |_________- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::Hardware` [INFO] [stdout] --> src/system2/system.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use super::Hardware; [INFO] [stdout] | ^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `hardware` [INFO] [stdout] | no `Hardware` in `system2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::PIC` [INFO] [stdout] --> src/system2/system.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use super::PIC; [INFO] [stdout] | ^^^^^^^^^^ no `PIC` in `system2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::PIC` [INFO] [stdout] --> src/system2/hardware/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use super::PIC; [INFO] [stdout] | ^^^^^^^^^^ no `PIC` in `system2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::SSystemError` [INFO] [stdout] --> src/system2/hardware/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use super::SSystemError; [INFO] [stdout] | ^^^^^^^------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `SystemError` [INFO] [stdout] | no `SSystemError` in `system2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `self::bus`, `super::Bus` [INFO] [stdout] --> src/system2/mod.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub use self::bus::Bus; [INFO] [stdout] | ^^^ could not find `bus` in `self` [INFO] [stdout] | [INFO] [stdout] ::: src/system2/system.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use super::Bus; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/system2/error.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl fmt::Display for SystemError { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/system2/error.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/system2/error.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/system2/error.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | impl fmt::Debug for SystemError { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/system2/error.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/system2/error.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Word` in this scope [INFO] [stdout] --> src/system2/decoder.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | address: Word, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 17 | use system2::Word; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Word` in this scope [INFO] [stdout] --> src/system2/decoder.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | address: Word, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 17 | use system2::Word; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Word` in this scope [INFO] [stdout] --> src/system2/decoder.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | address: Word, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 17 | use system2::Word; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Word` in this scope [INFO] [stdout] --> src/system2/decoder.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | Memory(Word), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 17 | use system2::Word; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Word` in this scope [INFO] [stdout] --> src/system2/decoder.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Literal(Word), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 17 | use system2::Word; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SystemError` in this scope [INFO] [stdout] --> src/system2/hardware/mod.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn interrupt(&mut self, value: Word) -> SystemError; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 17 | use system2::SystemError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SystemError` in this scope [INFO] [stdout] --> src/system2/hardware/mod.rs:35:107 [INFO] [stdout] | [INFO] [stdout] 35 | fn update(&mut self, clock: &Clock, registers: &mut Registers, memory: &mut Memory, pic: &mut PIC) -> SystemError; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 17 | use system2::SystemError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/system2/system.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/system2/system.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | /// Fetch [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 64 | let base_address = self.registers.pc; [INFO] [stdout] | ------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vcpu16` due to 21 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "21fc5b98bd838f538fea84f92105fda86455b4507ef935dbd2063ce972a9cdaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21fc5b98bd838f538fea84f92105fda86455b4507ef935dbd2063ce972a9cdaf", kill_on_drop: false }` [INFO] [stdout] 21fc5b98bd838f538fea84f92105fda86455b4507ef935dbd2063ce972a9cdaf