[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] testing ltriant/atari2600 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fltriant%2Fatari2600" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ltriant/atari2600 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0193b6149819be24dc6e7b023765f892c27b1e212c78b6374cabe00973557757 [INFO] running `Command { std: "docker" "start" "-a" "0193b6149819be24dc6e7b023765f892c27b1e212c78b6374cabe00973557757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0193b6149819be24dc6e7b023765f892c27b1e212c78b6374cabe00973557757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0193b6149819be24dc6e7b023765f892c27b1e212c78b6374cabe00973557757", kill_on_drop: false }` [INFO] [stdout] 0193b6149819be24dc6e7b023765f892c27b1e212c78b6374cabe00973557757 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d3d5d726e02107e9e8692e3c38a4557a1def7cef99c0dfb638032fb57ac64b1 [INFO] running `Command { std: "docker" "start" "-a" "2d3d5d726e02107e9e8692e3c38a4557a1def7cef99c0dfb638032fb57ac64b1", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling sdl2 v0.33.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling sdl2-sys v0.33.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling atari2600 v0.1.0 (/opt/rustwide/workdir) [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.65s [INFO] running `Command { std: "docker" "inspect" "2d3d5d726e02107e9e8692e3c38a4557a1def7cef99c0dfb638032fb57ac64b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d3d5d726e02107e9e8692e3c38a4557a1def7cef99c0dfb638032fb57ac64b1", kill_on_drop: false }` [INFO] [stdout] 2d3d5d726e02107e9e8692e3c38a4557a1def7cef99c0dfb638032fb57ac64b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ada32b4f56d469c5e95b3303dafb01926e11ce058d70815b2eae1379ec51d886 [INFO] running `Command { std: "docker" "start" "-a" "ada32b4f56d469c5e95b3303dafb01926e11ce058d70815b2eae1379ec51d886", kill_on_drop: false }` [INFO] [stderr] Compiling 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::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::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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atari2600` (bin "atari2600" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ada32b4f56d469c5e95b3303dafb01926e11ce058d70815b2eae1379ec51d886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ada32b4f56d469c5e95b3303dafb01926e11ce058d70815b2eae1379ec51d886", kill_on_drop: false }` [INFO] [stdout] ada32b4f56d469c5e95b3303dafb01926e11ce058d70815b2eae1379ec51d886