[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuhlig%2Fvcpu16-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huhlig/vcpu16-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-2/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75e5eafc19719657c82bea77e5116016203adf75094a1034d8d8342de7eb9a45 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "75e5eafc19719657c82bea77e5116016203adf75094a1034d8d8342de7eb9a45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75e5eafc19719657c82bea77e5116016203adf75094a1034d8d8342de7eb9a45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75e5eafc19719657c82bea77e5116016203adf75094a1034d8d8342de7eb9a45", kill_on_drop: false }` [INFO] [stdout] 75e5eafc19719657c82bea77e5116016203adf75094a1034d8d8342de7eb9a45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 612fbee25147e953d7a3aca7632dc72082251bc14a3f90154aca0336560225dd [INFO] running `Command { std: "docker" "start" "-a" "612fbee25147e953d7a3aca7632dc72082251bc14a3f90154aca0336560225dd", 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 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/system2/memory.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn load(&mut self, reader: &mut Read) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/system2/memory.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn save(&mut self, writer: &mut Write) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 4 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "612fbee25147e953d7a3aca7632dc72082251bc14a3f90154aca0336560225dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "612fbee25147e953d7a3aca7632dc72082251bc14a3f90154aca0336560225dd", kill_on_drop: false }` [INFO] [stdout] 612fbee25147e953d7a3aca7632dc72082251bc14a3f90154aca0336560225dd