[INFO] fetching crate chip8_vm 0.4.0... [INFO] building chip8_vm-0.4.0 against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] extracting crate chip8_vm 0.4.0 into /workspace/builds/worker-31/source [INFO] validating manifest of crates.io crate chip8_vm 0.4.0 on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chip8_vm 0.4.0 [INFO] finished tweaking crates.io crate chip8_vm 0.4.0 [INFO] tweaked toml for crates.io crate chip8_vm 0.4.0 written to /workspace/builds/worker-31/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e113f1c3c9a036082b7a923ab238127f72a2d7293721210d640bf9cc9e25d80 [INFO] running `Command { std: "docker" "start" "-a" "5e113f1c3c9a036082b7a923ab238127f72a2d7293721210d640bf9cc9e25d80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e113f1c3c9a036082b7a923ab238127f72a2d7293721210d640bf9cc9e25d80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e113f1c3c9a036082b7a923ab238127f72a2d7293721210d640bf9cc9e25d80", kill_on_drop: false }` [INFO] [stdout] 5e113f1c3c9a036082b7a923ab238127f72a2d7293721210d640bf9cc9e25d80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9dc25cca4fc01ceed1e384072e1ed8e3299be1411917b656f49a4cba97d78786 [INFO] running `Command { std: "docker" "start" "-a" "9dc25cca4fc01ceed1e384072e1ed8e3299be1411917b656f49a4cba97d78786", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling chip8_vm v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | try!(reader.read_to_end(&mut rom)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | try!(ram.write_all(rom.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 28 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn load_rom(&mut self, reader: &mut Read) -> Result { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - pub fn load_rom(&mut self, reader: &mut Read) -> Result { [INFO] [stdout] 116 + pub fn load_rom(&mut self, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm.rs:133:41 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn dump_ram(&self, writer: &mut Write) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 - pub fn dump_ram(&self, writer: &mut Write) { [INFO] [stdout] 133 + pub fn dump_ram(&self, writer: &mut dyn Write) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | return write!(fmt, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm.rs:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | let mut dst = &mut self.ram[i..i+vx+1]; [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.89s [INFO] running `Command { std: "docker" "inspect" "9dc25cca4fc01ceed1e384072e1ed8e3299be1411917b656f49a4cba97d78786", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dc25cca4fc01ceed1e384072e1ed8e3299be1411917b656f49a4cba97d78786", kill_on_drop: false }` [INFO] [stdout] 9dc25cca4fc01ceed1e384072e1ed8e3299be1411917b656f49a4cba97d78786 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfc4a01b5a6b7c8af6fb2237c767b206e8af983dcd3174b4a7c0e4a7b9a78eb7 [INFO] running `Command { std: "docker" "start" "-a" "dfc4a01b5a6b7c8af6fb2237c767b206e8af983dcd3174b4a7c0e4a7b9a78eb7", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | try!(reader.read_to_end(&mut rom)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | try!(ram.write_all(rom.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 28 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn load_rom(&mut self, reader: &mut Read) -> Result { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - pub fn load_rom(&mut self, reader: &mut Read) -> Result { [INFO] [stdout] 116 + pub fn load_rom(&mut self, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm.rs:133:41 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn dump_ram(&self, writer: &mut Write) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 - pub fn dump_ram(&self, writer: &mut Write) { [INFO] [stdout] 133 + pub fn dump_ram(&self, writer: &mut dyn Write) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | return write!(fmt, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm.rs:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | let mut dst = &mut self.ram[i..i+vx+1]; [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chip8_vm v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | try!(reader.read_to_end(&mut rom)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vm.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | try!(ram.write_all(rom.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 28 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn load_rom(&mut self, reader: &mut Read) -> Result { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - pub fn load_rom(&mut self, reader: &mut Read) -> Result { [INFO] [stdout] 116 + pub fn load_rom(&mut self, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm.rs:133:41 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn dump_ram(&self, writer: &mut Write) { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 - pub fn dump_ram(&self, writer: &mut Write) { [INFO] [stdout] 133 + pub fn dump_ram(&self, writer: &mut dyn Write) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | return write!(fmt, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm.rs:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | let mut dst = &mut self.ram[i..i+vx+1]; [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.64s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/chip8_vm-13fdb93204cb1e84) [INFO] running `Command { std: "docker" "inspect" "dfc4a01b5a6b7c8af6fb2237c767b206e8af983dcd3174b4a7c0e4a7b9a78eb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfc4a01b5a6b7c8af6fb2237c767b206e8af983dcd3174b4a7c0e4a7b9a78eb7", kill_on_drop: false }` [INFO] [stdout] dfc4a01b5a6b7c8af6fb2237c767b206e8af983dcd3174b4a7c0e4a7b9a78eb7