[INFO] cloning repository https://github.com/joaodelgado/rust-8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joaodelgado/rust-8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaodelgado%2Frust-8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaodelgado%2Frust-8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23d0c09fef556ee908d22b2606f3c4ff4fac7e0d [INFO] checking joaodelgado/rust-8 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaodelgado%2Frust-8" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joaodelgado/rust-8 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joaodelgado/rust-8 [INFO] finished tweaking git repo https://github.com/joaodelgado/rust-8 [INFO] tweaked toml for git repo https://github.com/joaodelgado/rust-8 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/joaodelgado/rust-8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c52c116f4b0e70834f472962320a9b9fe49dd62bdb466ea10f913117771f5b42 [INFO] running `Command { std: "docker" "start" "-a" "c52c116f4b0e70834f472962320a9b9fe49dd62bdb466ea10f913117771f5b42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c52c116f4b0e70834f472962320a9b9fe49dd62bdb466ea10f913117771f5b42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c52c116f4b0e70834f472962320a9b9fe49dd62bdb466ea10f913117771f5b42", kill_on_drop: false }` [INFO] [stdout] c52c116f4b0e70834f472962320a9b9fe49dd62bdb466ea10f913117771f5b42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eead424f7a5cd5975e47e213f76d26344b08a4aafd98edee7be7f090a8f28a74 [INFO] running `Command { std: "docker" "start" "-a" "eead424f7a5cd5975e47e213f76d26344b08a4aafd98edee7be7f090a8f28a74", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Checking either v1.0.3 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking itertools v0.5.9 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking num-integer v0.1.33 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Checking num v0.1.37 [INFO] [stderr] Checking sdl2 v0.28.0 [INFO] [stderr] Checking chip-8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instr.rs:1123:31 [INFO] [stdout] | [INFO] [stdout] 1123 | pub fn parse(raw: u16) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Instr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instr.rs:1124:24 [INFO] [stdout] | [INFO] [stdout] 1124 | let mut instr: Box = match raw & 0xf000 { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Instr` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instr.rs:1185:26 [INFO] [stdout] | [INFO] [stdout] 1185 | pub fn execute(inst: Box, cpu: &mut Cpu) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Instr` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instr.rs:1123:31 [INFO] [stdout] | [INFO] [stdout] 1123 | pub fn parse(raw: u16) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Instr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instr.rs:1124:24 [INFO] [stdout] | [INFO] [stdout] 1124 | let mut instr: Box = match raw & 0xf000 { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Instr` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/instr.rs:1185:26 [INFO] [stdout] | [INFO] [stdout] 1185 | pub fn execute(inst: Box, cpu: &mut Cpu) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Instr` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/cpu.rs:306:35 [INFO] [stdout] | [INFO] [stdout] 306 | let r_vx = join(self.r_vx.into_iter().map(|v| format!("{:02x}", v)), ", "); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 306 | let r_vx = join(self.r_vx.iter().map(|v| format!("{:02x}", v)), ", "); [INFO] [stdout] | ^^^^ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 306 | let r_vx = join(IntoIterator::into_iter(self.r_vx).map(|v| format!("{:02x}", v)), ", "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/cpu.rs:307:37 [INFO] [stdout] | [INFO] [stdout] 307 | let stack = join(self.stack.into_iter().map(|v| format!("{:04x}", v)), ", "); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 307 | let stack = join(self.stack.iter().map(|v| format!("{:04x}", v)), ", "); [INFO] [stdout] | ^^^^ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 307 | let stack = join(IntoIterator::into_iter(self.stack).map(|v| format!("{:04x}", v)), ", "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/cpu.rs:306:35 [INFO] [stdout] | [INFO] [stdout] 306 | let r_vx = join(self.r_vx.into_iter().map(|v| format!("{:02x}", v)), ", "); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 306 | let r_vx = join(self.r_vx.iter().map(|v| format!("{:02x}", v)), ", "); [INFO] [stdout] | ^^^^ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 306 | let r_vx = join(IntoIterator::into_iter(self.r_vx).map(|v| format!("{:02x}", v)), ", "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/cpu.rs:307:37 [INFO] [stdout] | [INFO] [stdout] 307 | let stack = join(self.stack.into_iter().map(|v| format!("{:04x}", v)), ", "); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 307 | let stack = join(self.stack.iter().map(|v| format!("{:04x}", v)), ", "); [INFO] [stdout] | ^^^^ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 307 | let stack = join(IntoIterator::into_iter(self.stack).map(|v| format!("{:04x}", v)), ", "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.06s [INFO] running `Command { std: "docker" "inspect" "eead424f7a5cd5975e47e213f76d26344b08a4aafd98edee7be7f090a8f28a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eead424f7a5cd5975e47e213f76d26344b08a4aafd98edee7be7f090a8f28a74", kill_on_drop: false }` [INFO] [stdout] eead424f7a5cd5975e47e213f76d26344b08a4aafd98edee7be7f090a8f28a74