[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#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaodelgado%2Frust-8" "/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/joaodelgado/rust-8 on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "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-2/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" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", 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] fd899d47cd831c4437d118755debd4d7576c337a73800554a8666a77964eaabc [INFO] running `Command { std: "docker" "start" "-a" "fd899d47cd831c4437d118755debd4d7576c337a73800554a8666a77964eaabc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd899d47cd831c4437d118755debd4d7576c337a73800554a8666a77964eaabc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd899d47cd831c4437d118755debd4d7576c337a73800554a8666a77964eaabc", kill_on_drop: false }` [INFO] [stdout] fd899d47cd831c4437d118755debd4d7576c337a73800554a8666a77964eaabc [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5c0b12fb493e27fe611e8b9daf6ffd48360e450d7c033fdaf9f9787b1ec21f3 [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" "b5c0b12fb493e27fe611e8b9daf6ffd48360e450d7c033fdaf9f9787b1ec21f3", kill_on_drop: false }` [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 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 3.32s [INFO] running `Command { std: "docker" "inspect" "b5c0b12fb493e27fe611e8b9daf6ffd48360e450d7c033fdaf9f9787b1ec21f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c0b12fb493e27fe611e8b9daf6ffd48360e450d7c033fdaf9f9787b1ec21f3", kill_on_drop: false }` [INFO] [stdout] b5c0b12fb493e27fe611e8b9daf6ffd48360e450d7c033fdaf9f9787b1ec21f3