[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] checking huhlig/vcpu16-rs against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuhlig%2Fvcpu16-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huhlig/vcpu16-rs on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6db961a5c2519ac7cdb126b4e8fa766e897a6c0a0f43652bb60f5580210c68c1 [INFO] running `Command { std: "docker" "start" "-a" "6db961a5c2519ac7cdb126b4e8fa766e897a6c0a0f43652bb60f5580210c68c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6db961a5c2519ac7cdb126b4e8fa766e897a6c0a0f43652bb60f5580210c68c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6db961a5c2519ac7cdb126b4e8fa766e897a6c0a0f43652bb60f5580210c68c1", kill_on_drop: false }` [INFO] [stdout] 6db961a5c2519ac7cdb126b4e8fa766e897a6c0a0f43652bb60f5580210c68c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8659344c1cb6e8ce44391f6b9f09f8cd6ba59a33f2f91cb68282adf71f99caa0 [INFO] running `Command { std: "docker" "start" "-a" "8659344c1cb6e8ce44391f6b9f09f8cd6ba59a33f2f91cb68282adf71f99caa0", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Checking 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 import `self::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] [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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 17 + use std::fmt; [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: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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 17 + use std::fmt; [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: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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 17 + use std::fmt; [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: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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 17 + use std::fmt; [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: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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 17 + use std::fmt; [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: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] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 17 + use std::fmt; [INFO] [stdout] | [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 through its public re-export [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 through its public re-export [INFO] [stdout] | [INFO] [stdout] 17 + use system2::SystemError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [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` (lib) due to 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8659344c1cb6e8ce44391f6b9f09f8cd6ba59a33f2f91cb68282adf71f99caa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8659344c1cb6e8ce44391f6b9f09f8cd6ba59a33f2f91cb68282adf71f99caa0", kill_on_drop: false }` [INFO] [stdout] 8659344c1cb6e8ce44391f6b9f09f8cd6ba59a33f2f91cb68282adf71f99caa0