[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] 35656be29b5ff34d3c4666b4648eb03a5d913f29 [INFO] checking joaodelgado/rust-8 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaodelgado%2Frust-8" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joaodelgado/rust-8 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.21 [INFO] [stderr] Downloaded lazy_static v0.2.2 [INFO] [stderr] Downloaded num-integer v0.1.33 [INFO] [stderr] Downloaded num-traits v0.1.37 [INFO] [stderr] Downloaded num v0.1.37 [INFO] [stderr] Downloaded rand v0.3.15 [INFO] [stderr] Downloaded sdl2-sys v0.27.2 [INFO] [stderr] Downloaded time v0.2.0 [INFO] [stderr] Downloaded either v1.0.3 [INFO] [stderr] Downloaded sdl2 v0.28.0 [INFO] [stderr] Downloaded itertools v0.5.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76c2dd6b4c03227685b0666905bd21fb4915f4e0c275a410cd0401ab50f86189 [INFO] running `Command { std: "docker" "start" "-a" "76c2dd6b4c03227685b0666905bd21fb4915f4e0c275a410cd0401ab50f86189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76c2dd6b4c03227685b0666905bd21fb4915f4e0c275a410cd0401ab50f86189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76c2dd6b4c03227685b0666905bd21fb4915f4e0c275a410cd0401ab50f86189", kill_on_drop: false }` [INFO] [stdout] 76c2dd6b4c03227685b0666905bd21fb4915f4e0c275a410cd0401ab50f86189 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00a5bf5c8f2998d2fa58985862f2dd4fe974b2f6bc09d8b4726ea5d2fb7971b9 [INFO] running `Command { std: "docker" "start" "-a" "00a5bf5c8f2998d2fa58985862f2dd4fe974b2f6bc09d8b4726ea5d2fb7971b9", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking either v1.0.3 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking time v0.2.0 [INFO] [stderr] Checking itertools v0.5.9 [INFO] [stderr] Checking rand v0.3.15 [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: the item `Box` is imported redundantly [INFO] [stdout] --> src/instr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/instr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | use time::PreciseTime; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | last_sync: PreciseTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | last_sync: PreciseTime::now(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 218 | self.last_sync = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | let now = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/instr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/instr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [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] | ^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1123 | pub fn parse(raw: u16) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | use time::PreciseTime; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | last_sync: PreciseTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | last_sync: PreciseTime::now(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 218 | self.last_sync = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | let now = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [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] | ^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1185 | pub fn execute(inst: Box, cpu: &mut Cpu) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/cpu.rs:229:70 [INFO] [stdout] | [INFO] [stdout] 229 | let ellapsed = spec::MILLI_PER_FRAME as i64 - self.last_sync.to(now).num_milliseconds(); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cpu.rs:229:78 [INFO] [stdout] | [INFO] [stdout] 229 | let ellapsed = spec::MILLI_PER_FRAME as i64 - self.last_sync.to(now).num_milliseconds(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] | ^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1123 | pub fn parse(raw: u16) -> Box { [INFO] [stdout] | +++ [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] | ^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1185 | pub fn execute(inst: Box, cpu: &mut Cpu) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/cpu.rs:229:70 [INFO] [stdout] | [INFO] [stdout] 229 | let ellapsed = spec::MILLI_PER_FRAME as i64 - self.last_sync.to(now).num_milliseconds(); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cpu.rs:229:78 [INFO] [stdout] | [INFO] [stdout] 229 | let ellapsed = spec::MILLI_PER_FRAME as i64 - self.last_sync.to(now).num_milliseconds(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] | ^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1124 | let mut instr: Box = match raw & 0xf000 { [INFO] [stdout] | +++ [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] | ^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1124 | let mut instr: Box = match raw & 0xf000 { [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: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] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [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 [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: 14 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] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [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 [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.12s [INFO] running `Command { std: "docker" "inspect" "00a5bf5c8f2998d2fa58985862f2dd4fe974b2f6bc09d8b4726ea5d2fb7971b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00a5bf5c8f2998d2fa58985862f2dd4fe974b2f6bc09d8b4726ea5d2fb7971b9", kill_on_drop: false }` [INFO] [stdout] 00a5bf5c8f2998d2fa58985862f2dd4fe974b2f6bc09d8b4726ea5d2fb7971b9 [INFO] checking joaodelgado/rust-8 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoaodelgado%2Frust-8" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joaodelgado/rust-8 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 107d71365eec517e7ae83d28dc2c57acb946fae676373238943145a3be89f943 [INFO] running `Command { std: "docker" "start" "-a" "107d71365eec517e7ae83d28dc2c57acb946fae676373238943145a3be89f943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "107d71365eec517e7ae83d28dc2c57acb946fae676373238943145a3be89f943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "107d71365eec517e7ae83d28dc2c57acb946fae676373238943145a3be89f943", kill_on_drop: false }` [INFO] [stdout] 107d71365eec517e7ae83d28dc2c57acb946fae676373238943145a3be89f943 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f327eb229b29f84da1b2c8779f6d731542f7c611041aee69c463accfc5835c5d [INFO] running `Command { std: "docker" "start" "-a" "f327eb229b29f84da1b2c8779f6d731542f7c611041aee69c463accfc5835c5d", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking libc v0.2.21 [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 time v0.2.0 [INFO] [stderr] Checking itertools v0.5.9 [INFO] [stderr] Checking rand v0.3.15 [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: the item `Box` is imported redundantly [INFO] [stdout] --> src/instr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/instr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Box` is imported redundantly [INFO] [stdout] --> src/instr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Box` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/instr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | use time::PreciseTime; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | last_sync: PreciseTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | last_sync: PreciseTime::now(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 218 | self.last_sync = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | let now = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | use time::PreciseTime; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | last_sync: PreciseTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | last_sync: PreciseTime::now(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 218 | self.last_sync = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/cpu.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | let now = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^ [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] | ^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1123 | pub fn parse(raw: u16) -> Box { [INFO] [stdout] | +++ [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] | ^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1185 | pub fn execute(inst: Box, cpu: &mut Cpu) { [INFO] [stdout] | +++ [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] | ^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1123 | pub fn parse(raw: u16) -> Box { [INFO] [stdout] | +++ [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] | ^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1185 | pub fn execute(inst: Box, cpu: &mut Cpu) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/cpu.rs:229:70 [INFO] [stdout] | [INFO] [stdout] 229 | let ellapsed = spec::MILLI_PER_FRAME as i64 - self.last_sync.to(now).num_milliseconds(); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cpu.rs:229:78 [INFO] [stdout] | [INFO] [stdout] 229 | let ellapsed = spec::MILLI_PER_FRAME as i64 - self.last_sync.to(now).num_milliseconds(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/cpu.rs:229:70 [INFO] [stdout] | [INFO] [stdout] 229 | let ellapsed = spec::MILLI_PER_FRAME as i64 - self.last_sync.to(now).num_milliseconds(); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/cpu.rs:229:78 [INFO] [stdout] | [INFO] [stdout] 229 | let ellapsed = spec::MILLI_PER_FRAME as i64 - self.last_sync.to(now).num_milliseconds(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] | ^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1124 | let mut instr: Box = match raw & 0xf000 { [INFO] [stdout] | +++ [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] | ^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1124 | let mut instr: Box = match raw & 0xf000 { [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: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] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [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 [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: 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] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [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 [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.56s [INFO] running `Command { std: "docker" "inspect" "f327eb229b29f84da1b2c8779f6d731542f7c611041aee69c463accfc5835c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f327eb229b29f84da1b2c8779f6d731542f7c611041aee69c463accfc5835c5d", kill_on_drop: false }` [INFO] [stdout] f327eb229b29f84da1b2c8779f6d731542f7c611041aee69c463accfc5835c5d