[INFO] fetching crate dmd_core 0.6.3... [INFO] checking dmd_core-0.6.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate dmd_core 0.6.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate dmd_core 0.6.3 [INFO] finished tweaking crates.io crate dmd_core 0.6.3 [INFO] tweaked toml for crates.io crate dmd_core 0.6.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dmd_core 0.6.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0cef3d3191446e2c2c5eda387a7c0effde2e8b8a60c8cae1ce2bff236898f64 [INFO] running `Command { std: "docker" "start" "-a" "f0cef3d3191446e2c2c5eda387a7c0effde2e8b8a60c8cae1ce2bff236898f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0cef3d3191446e2c2c5eda387a7c0effde2e8b8a60c8cae1ce2bff236898f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0cef3d3191446e2c2c5eda387a7c0effde2e8b8a60c8cae1ce2bff236898f64", kill_on_drop: false }` [INFO] [stdout] f0cef3d3191446e2c2c5eda387a7c0effde2e8b8a60c8cae1ce2bff236898f64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0346e8d60ad7656e7f0203c1af8403d1d9ffacc4e4105e441d2f6faf52a55eb9 [INFO] running `Command { std: "docker" "start" "-a" "0346e8d60ad7656e7f0203c1af8403d1d9ffacc4e4105e441d2f6faf52a55eb9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking dmd_core v0.6.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/dmd.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | fn dmd_get_pc(pc: &mut uint32_t) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | fn dmd_get_register(reg: uint8_t, val: &mut uint32_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/dmd.rs:197:45 [INFO] [stdout] | [INFO] [stdout] 197 | fn dmd_get_register(reg: uint8_t, val: &mut uint32_t) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/dmd.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | fn dmd_read_word(addr: uint32_t, val: &mut uint32_t) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/dmd.rs:208:44 [INFO] [stdout] | [INFO] [stdout] 208 | fn dmd_read_word(addr: uint32_t, val: &mut uint32_t) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/dmd.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | fn dmd_read_byte(addr: uint32_t, val: &mut uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:224:44 [INFO] [stdout] | [INFO] [stdout] 224 | fn dmd_read_byte(addr: uint32_t, val: &mut uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:240:42 [INFO] [stdout] | [INFO] [stdout] 240 | fn dmd_get_duart_output_port(oport: &mut uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:251:19 [INFO] [stdout] | [INFO] [stdout] 251 | fn dmd_rx_char(c: uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:262:23 [INFO] [stdout] | [INFO] [stdout] 262 | fn dmd_rx_keyboard(c: uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/dmd.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | fn dmd_mouse_move(x: uint16_t, y: uint16_t) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/dmd.rs:273:35 [INFO] [stdout] | [INFO] [stdout] 273 | fn dmd_mouse_move(x: uint16_t, y: uint16_t) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | fn dmd_mouse_down(button: uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:295:25 [INFO] [stdout] | [INFO] [stdout] 295 | fn dmd_mouse_up(button: uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:306:36 [INFO] [stdout] | [INFO] [stdout] 306 | fn dmd_rs232_tx_poll(tx_char: &mut uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:322:33 [INFO] [stdout] | [INFO] [stdout] 322 | fn dmd_kb_tx_poll(tx_char: &mut uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/err.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | 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/err.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | 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/err.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 | 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/bus.rs:80:61 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_device(&mut self, address: usize) -> Result<&mut Device, BusError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | fn get_device(&mut self, address: usize) -> Result<&mut dyn Device, BusError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/dmd.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | fn dmd_get_pc(pc: &mut uint32_t) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | fn dmd_get_register(reg: uint8_t, val: &mut uint32_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/dmd.rs:197:45 [INFO] [stdout] | [INFO] [stdout] 197 | fn dmd_get_register(reg: uint8_t, val: &mut uint32_t) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/dmd.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | fn dmd_read_word(addr: uint32_t, val: &mut uint32_t) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/dmd.rs:208:44 [INFO] [stdout] | [INFO] [stdout] 208 | fn dmd_read_word(addr: uint32_t, val: &mut uint32_t) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/dmd.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | fn dmd_read_byte(addr: uint32_t, val: &mut uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:224:44 [INFO] [stdout] | [INFO] [stdout] 224 | fn dmd_read_byte(addr: uint32_t, val: &mut uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:240:42 [INFO] [stdout] | [INFO] [stdout] 240 | fn dmd_get_duart_output_port(oport: &mut uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:251:19 [INFO] [stdout] | [INFO] [stdout] 251 | fn dmd_rx_char(c: uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:262:23 [INFO] [stdout] | [INFO] [stdout] 262 | fn dmd_rx_keyboard(c: uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/dmd.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | fn dmd_mouse_move(x: uint16_t, y: uint16_t) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stdout] --> src/dmd.rs:273:35 [INFO] [stdout] | [INFO] [stdout] 273 | fn dmd_mouse_move(x: uint16_t, y: uint16_t) -> c_int { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | fn dmd_mouse_down(button: uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:295:25 [INFO] [stdout] | [INFO] [stdout] 295 | fn dmd_mouse_up(button: uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:306:36 [INFO] [stdout] | [INFO] [stdout] 306 | fn dmd_rs232_tx_poll(tx_char: &mut uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/dmd.rs:322:33 [INFO] [stdout] | [INFO] [stdout] 322 | fn dmd_kb_tx_poll(tx_char: &mut uint8_t) -> c_int { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/err.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | 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/err.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | 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/err.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 117 | 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/bus.rs:80:61 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_device(&mut self, address: usize) -> Result<&mut Device, BusError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | fn get_device(&mut self, address: usize) -> Result<&mut dyn Device, BusError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/err.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | CpuError::Exception(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/err.rs:113:39 [INFO] [stdout] | [INFO] [stdout] 113 | CpuError::Bus(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/err.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | CpuError::Exception(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/err.rs:113:39 [INFO] [stdout] | [INFO] [stdout] 113 | CpuError::Bus(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let mut ctx = &mut self.ports[port]; [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: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let mut ctx = &mut self.ports[port]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | let mut ctx = &mut self.ports[PORT_1]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let mut ctx = &mut self.ports[PORT_0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let mut ctx = &mut self.ports[port]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let mut ctx = &mut self.ports[port]; [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: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let mut ctx = &mut self.ports[port]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:426:21 [INFO] [stdout] | [INFO] [stdout] 426 | let mut ctx = &mut self.ports[PORT_0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:435:21 [INFO] [stdout] | [INFO] [stdout] 435 | let mut ctx = &mut self.ports[PORT_0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:452:21 [INFO] [stdout] | [INFO] [stdout] 452 | let mut ctx = &mut self.ports[PORT_1]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:461:21 [INFO] [stdout] | [INFO] [stdout] 461 | let mut ctx = &mut self.ports[PORT_1]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | let mut ctx = &mut self.ports[PORT_1]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:487:21 [INFO] [stdout] | [INFO] [stdout] 487 | let mut ctx = &mut self.ports[PORT_0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | let mut ctx = &mut self.ports[PORT_0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let mut ctx = &mut self.ports[PORT_0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:506:21 [INFO] [stdout] | [INFO] [stdout] 506 | let mut ctx = &mut self.ports[PORT_0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:523:21 [INFO] [stdout] | [INFO] [stdout] 523 | let mut ctx = &mut self.ports[PORT_1]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:539:21 [INFO] [stdout] | [INFO] [stdout] 539 | let mut ctx = &mut self.ports[PORT_1]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let mut ctx = &mut self.ports[port]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:426:21 [INFO] [stdout] | [INFO] [stdout] 426 | let mut ctx = &mut self.ports[PORT_0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:435:21 [INFO] [stdout] | [INFO] [stdout] 435 | let mut ctx = &mut self.ports[PORT_0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:452:21 [INFO] [stdout] | [INFO] [stdout] 452 | let mut ctx = &mut self.ports[PORT_1]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:461:21 [INFO] [stdout] | [INFO] [stdout] 461 | let mut ctx = &mut self.ports[PORT_1]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:487:21 [INFO] [stdout] | [INFO] [stdout] 487 | let mut ctx = &mut self.ports[PORT_0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | let mut ctx = &mut self.ports[PORT_0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:506:21 [INFO] [stdout] | [INFO] [stdout] 506 | let mut ctx = &mut self.ports[PORT_0]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:523:21 [INFO] [stdout] | [INFO] [stdout] 523 | let mut ctx = &mut self.ports[PORT_1]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/duart.rs:539:21 [INFO] [stdout] | [INFO] [stdout] 539 | let mut ctx = &mut self.ports[PORT_1]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.33s [INFO] running `Command { std: "docker" "inspect" "0346e8d60ad7656e7f0203c1af8403d1d9ffacc4e4105e441d2f6faf52a55eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0346e8d60ad7656e7f0203c1af8403d1d9ffacc4e4105e441d2f6faf52a55eb9", kill_on_drop: false }` [INFO] [stdout] 0346e8d60ad7656e7f0203c1af8403d1d9ffacc4e4105e441d2f6faf52a55eb9