[INFO] cloning repository https://github.com/ltriant/atari2600 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ltriant/atari2600" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fltriant%2Fatari2600", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fltriant%2Fatari2600'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17481fe504f229e6646e40e757f0a60cd7e6c42d [INFO] checking ltriant/atari2600 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fltriant%2Fatari2600" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ltriant/atari2600 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ltriant/atari2600 [INFO] finished tweaking git repo https://github.com/ltriant/atari2600 [INFO] tweaked toml for git repo https://github.com/ltriant/atari2600 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ltriant/atari2600 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.33.0 [INFO] [stderr] Downloaded sdl2-sys v0.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ce0effef61e604080ff5031871044bb022b6c2e63938072d2d832574a1e7717 [INFO] running `Command { std: "docker" "start" "-a" "5ce0effef61e604080ff5031871044bb022b6c2e63938072d2d832574a1e7717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ce0effef61e604080ff5031871044bb022b6c2e63938072d2d832574a1e7717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ce0effef61e604080ff5031871044bb022b6c2e63938072d2d832574a1e7717", kill_on_drop: false }` [INFO] [stdout] 5ce0effef61e604080ff5031871044bb022b6c2e63938072d2d832574a1e7717 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bbb8b2a9624b77a50084fc17bed5713cf59789dc5d0c2be567892777d2b5a81 [INFO] running `Command { std: "docker" "start" "-a" "4bbb8b2a9624b77a50084fc17bed5713cf59789dc5d0c2be567892777d2b5a81", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling sdl2-sys v0.33.0 [INFO] [stderr] Compiling sdl2 v0.33.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking atari2600 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `new_counter` found for struct `counter::Counter` in the current scope [INFO] [stdout] --> src/tia/counter.rs:104:32 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Counter { [INFO] [stdout] | ------------------ function or associated item `new_counter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 104 | let mut ctr = Counter::new_counter(40, 0); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Counter` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `counter::Counter`, consider using `counter::Counter::new` which returns `counter::Counter` [INFO] [stdout] --> src/tia/counter.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(period: u8, reset_value: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_counter` found for struct `counter::Counter` in the current scope [INFO] [stdout] --> src/tia/counter.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Counter { [INFO] [stdout] | ------------------ function or associated item `new_counter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 153 | let mut ctr = Counter::new_counter(40, 0); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Counter` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `counter::Counter`, consider using `counter::Counter::new` which returns `counter::Counter` [INFO] [stdout] --> src/tia/counter.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(period: u8, reset_value: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `frames` is assigned to, but never used [INFO] [stdout] --> src/main.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let mut frames = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_frames` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vsync` is assigned to, but never used [INFO] [stdout] --> src/main.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let mut vsync = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_vsync` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vblank` is assigned to, but never used [INFO] [stdout] --> src/main.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let mut vblank = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_vblank` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `visible` is assigned to, but never used [INFO] [stdout] --> src/main.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let mut visible = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_visible` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `overscan` is assigned to, but never used [INFO] [stdout] --> src/main.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut overscan = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_overscan` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut debugger = Rc::new(RefCell::new(Debugger::new( [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atari2600` (bin "atari2600" test) due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable `frames` is assigned to, but never used [INFO] [stdout] --> src/main.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let mut frames = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_frames` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vsync` is assigned to, but never used [INFO] [stdout] --> src/main.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let mut vsync = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_vsync` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vblank` is assigned to, but never used [INFO] [stdout] --> src/main.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let mut vblank = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_vblank` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `visible` is assigned to, but never used [INFO] [stdout] --> src/main.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let mut visible = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_visible` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `overscan` is assigned to, but never used [INFO] [stdout] --> src/main.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut overscan = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_overscan` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut debugger = Rc::new(RefCell::new(Debugger::new( [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save` and `load` are never used [INFO] [stdout] --> src/bus.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Bus { [INFO] [stdout] | --- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn save(&self, _output: &mut File) -> io::Result<()> { Ok(()) } [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | fn load(&mut self, _input: &mut File) -> io::Result<()> { Ok(()) } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `step` is never used [INFO] [stdout] --> src/cpu6507.rs:775:12 [INFO] [stdout] | [INFO] [stdout] 531 | impl CPU6507 { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 775 | pub fn step(&mut self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHS` is never used [INFO] [stdout] --> src/tia.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const SHS: u8 = 4; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RHS` is never used [INFO] [stdout] --> src/tia.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const RHS: u8 = 8; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RCB` is never used [INFO] [stdout] --> src/tia.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | const RCB: u8 = 12; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CNT` is never used [INFO] [stdout] --> src/tia.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | const CNT: u8 = 36; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `debug` is never used [INFO] [stdout] --> src/tia/player.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn debug(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4bbb8b2a9624b77a50084fc17bed5713cf59789dc5d0c2be567892777d2b5a81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bbb8b2a9624b77a50084fc17bed5713cf59789dc5d0c2be567892777d2b5a81", kill_on_drop: false }` [INFO] [stdout] 4bbb8b2a9624b77a50084fc17bed5713cf59789dc5d0c2be567892777d2b5a81