[INFO] cloning repository https://github.com/vmlinuz719/rustframe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vmlinuz719/rustframe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvmlinuz719%2Frustframe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvmlinuz719%2Frustframe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90c8a6b80ef73dfe92d27266b92fe76d769f1219 [INFO] testing vmlinuz719/rustframe 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%2Fvmlinuz719%2Frustframe" "/workspace/builds/worker-50/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-50/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vmlinuz719/rustframe 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/vmlinuz719/rustframe [INFO] finished tweaking git repo https://github.com/vmlinuz719/rustframe [INFO] tweaked toml for git repo https://github.com/vmlinuz719/rustframe written to /workspace/builds/worker-50/source/Cargo.toml [INFO] crate git repo https://github.com/vmlinuz719/rustframe 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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] 14233f3ab0d30c8b12aabc7bf433909e78881db0067f9ae251cf05d55a498bab [INFO] running `Command { std: "docker" "start" "-a" "14233f3ab0d30c8b12aabc7bf433909e78881db0067f9ae251cf05d55a498bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14233f3ab0d30c8b12aabc7bf433909e78881db0067f9ae251cf05d55a498bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14233f3ab0d30c8b12aabc7bf433909e78881db0067f9ae251cf05d55a498bab", kill_on_drop: false }` [INFO] [stdout] 14233f3ab0d30c8b12aabc7bf433909e78881db0067f9ae251cf05d55a498bab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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] 04471c86b8c5c01f79ad418b33ea14b977198a44bda58503d2f3648beef79d0d [INFO] running `Command { std: "docker" "start" "-a" "04471c86b8c5c01f79ad418b33ea14b977198a44bda58503d2f3648beef79d0d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bit v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rustframe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `encoding` [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate encoding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecoderTrap` [INFO] [stdout] --> src/main.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | let line = ISO_8859_1.decode(&cleaned, DecoderTrap::Replace).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DecoderTrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EncoderTrap` [INFO] [stdout] --> src/main.rs:358:59 [INFO] [stdout] | [INFO] [stdout] 358 | let string = ISO_8859_1.encode("0123456789 PORT TEST\0", EncoderTrap::Strict).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EncoderTrap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ISO_8859_1` in this scope [INFO] [stdout] --> src/main.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let line = ISO_8859_1.decode(&cleaned, DecoderTrap::Replace).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ISO_8859_1` in this scope [INFO] [stdout] --> src/main.rs:358:15 [INFO] [stdout] | [INFO] [stdout] 358 | let string = ISO_8859_1.encode("0123456789 PORT TEST\0", EncoderTrap::Strict).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Condvar` [INFO] [stdout] --> src/cpu.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, Mutex, Condvar}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/cpu.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{thread, time}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:357:22 [INFO] [stdout] | [INFO] [stdout] 357 | let read_allowed = (self.S_flags[segment] & 0b10000000 != 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 357 - let read_allowed = (self.S_flags[segment] & 0b10000000 != 0); [INFO] [stdout] 357 + let read_allowed = self.S_flags[segment] & 0b10000000 != 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:358:23 [INFO] [stdout] | [INFO] [stdout] 358 | let write_allowed = (self.S_flags[segment] & 0b01000000 != 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 358 - let write_allowed = (self.S_flags[segment] & 0b01000000 != 0); [INFO] [stdout] 358 + let write_allowed = self.S_flags[segment] & 0b01000000 != 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/cpu.rs:359:22 [INFO] [stdout] | [INFO] [stdout] 359 | let exec_allowed = (self.S_flags[segment] & 0b00100000 != 0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 359 - let exec_allowed = (self.S_flags[segment] & 0b00100000 != 0); [INFO] [stdout] 359 + let exec_allowed = self.S_flags[segment] & 0b00100000 != 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cpu.rs:980:11 [INFO] [stdout] | [INFO] [stdout] 980 | ... if (cpu.F[8] & 0b00000001 != 0 && rr_reg_d(iword0) >= 8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 980 - if (cpu.F[8] & 0b00000001 != 0 && rr_reg_d(iword0) >= 8) { [INFO] [stdout] 980 + if cpu.F[8] & 0b00000001 != 0 && rr_reg_d(iword0) >= 8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cpu.rs:1040:11 [INFO] [stdout] | [INFO] [stdout] 1040 | ... if (cpu.F[8] & 0b00000001 != 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1040 - if (cpu.F[8] & 0b00000001 != 0) { [INFO] [stdout] 1040 + if cpu.F[8] & 0b00000001 != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cpu.rs:1047:11 [INFO] [stdout] | [INFO] [stdout] 1047 | ... if (cpu.F[8] & 0b00000001 != 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1047 - if (cpu.F[8] & 0b00000001 != 0) { [INFO] [stdout] 1047 + if cpu.F[8] & 0b00000001 != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cpu.rs:1055:11 [INFO] [stdout] | [INFO] [stdout] 1055 | ... if (cpu.F[8] & 0b00000001 != 0 && rr_reg_d(iword0) >= 8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1055 - if (cpu.F[8] & 0b00000001 != 0 && rr_reg_d(iword0) >= 8) { [INFO] [stdout] 1055 + if cpu.F[8] & 0b00000001 != 0 && rr_reg_d(iword0) >= 8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cpu.rs:1062:11 [INFO] [stdout] | [INFO] [stdout] 1062 | ... if (cpu.F[8] & 0b00000001 != 0 && rr_reg_d(iword0) >= 8) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1062 - if (cpu.F[8] & 0b00000001 != 0 && rr_reg_d(iword0) >= 8) { [INFO] [stdout] 1062 + if cpu.F[8] & 0b00000001 != 0 && rr_reg_d(iword0) >= 8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SQAddr` [INFO] [stdout] --> src/main.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::cpu::{SeriesQ, SQAddr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:211:2 [INFO] [stdout] | [INFO] [stdout] 211 | ///* [INFO] [stdout] | ^^^^ [INFO] [stdout] 212 | let mut bus3 = bus2.lock().unwrap(); [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 5 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustframe` due to 6 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "04471c86b8c5c01f79ad418b33ea14b977198a44bda58503d2f3648beef79d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04471c86b8c5c01f79ad418b33ea14b977198a44bda58503d2f3648beef79d0d", kill_on_drop: false }` [INFO] [stdout] 04471c86b8c5c01f79ad418b33ea14b977198a44bda58503d2f3648beef79d0d