[INFO] fetching crate cbm 0.1.0... [INFO] testing cbm-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cbm 0.1.0 into /workspace/builds/worker-36/source [INFO] validating manifest of crates.io crate cbm 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cbm 0.1.0 [INFO] finished tweaking crates.io crate cbm 0.1.0 [INFO] tweaked toml for crates.io crate cbm 0.1.0 written to /workspace/builds/worker-36/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ec85e5e00283fc4af9497950124a6732981799b9f8caadd10b7dbcd9532ffe0 [INFO] running `Command { std: "docker" "start" "-a" "2ec85e5e00283fc4af9497950124a6732981799b9f8caadd10b7dbcd9532ffe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ec85e5e00283fc4af9497950124a6732981799b9f8caadd10b7dbcd9532ffe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec85e5e00283fc4af9497950124a6732981799b9f8caadd10b7dbcd9532ffe0", kill_on_drop: false }` [INFO] [stdout] 2ec85e5e00283fc4af9497950124a6732981799b9f8caadd10b7dbcd9532ffe0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a6ef5bb17a0b5731ebb04983607e6793965f33de81898dfb39a49e462a381fe [INFO] running `Command { std: "docker" "start" "-a" "9a6ef5bb17a0b5731ebb04983607e6793965f33de81898dfb39a49e462a381fe", kill_on_drop: false }` [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling cbm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | try!(write!(f, "{}{:04x}: ", prefix, 0)); [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/util/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | try!(write!(f, "{}{:04x}: ", prefix, offset)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | try!(write!(f, "{:02x} ", b)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | try!(write!(f, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/util/mod.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | c @ 0x20...0x7E => c as char, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | try!(writeln!(f, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | pub type BlockDeviceRef = Rc>; [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] 14 - pub type BlockDeviceRef = Rc>; [INFO] [stdout] 14 + pub type BlockDeviceRef = Rc>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/directory.rs:559:35 [INFO] [stdout] | [INFO] [stdout] 559 | type DirectoryBlockIterator = 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 559 - type DirectoryBlockIterator = Box>>; [INFO] [stdout] 559 + type DirectoryBlockIterator = Box>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:82:72 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn open>(path: P, writable: bool) -> io::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] 82 - pub fn open>(path: P, writable: bool) -> io::Result> { [INFO] [stdout] 82 + pub fn open>(path: P, writable: bool) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:437:23 [INFO] [stdout] | [INFO] [stdout] 437 | impl fmt::Display for Disk { [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] 437 - impl fmt::Display for Disk { [INFO] [stdout] 437 + impl fmt::Display for dyn Disk { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:456:21 [INFO] [stdout] | [INFO] [stdout] 456 | impl fmt::Debug for Disk { [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] 456 - impl fmt::Debug for Disk { [INFO] [stdout] 456 + impl fmt::Debug for dyn Disk { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:468:31 [INFO] [stdout] | [INFO] [stdout] 468 | impl<'a> IntoIterator for &'a Disk { [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] 468 - impl<'a> IntoIterator for &'a Disk { [INFO] [stdout] 468 + impl<'a> IntoIterator for &'a dyn Disk { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:142:46 [INFO] [stdout] | [INFO] [stdout] 142 | fn blocks_ref(&self) -> ::std::cell::Ref; [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] 142 - fn blocks_ref(&self) -> ::std::cell::Ref; [INFO] [stdout] 142 + fn blocks_ref(&self) -> ::std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:143:57 [INFO] [stdout] | [INFO] [stdout] 143 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice>; [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] 143 - fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice>; [INFO] [stdout] 143 + fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, dyn BlockDevice>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:407:37 [INFO] [stdout] | [INFO] [stdout] 407 | fn dump(&mut self, writer: &mut Write) -> io::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] 407 - fn dump(&mut self, writer: &mut Write) -> io::Result<()> { [INFO] [stdout] 407 + fn dump(&mut self, writer: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | fn positioned_read(&self, positioned_data: &mut PositionedData) -> io::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] 34 - fn positioned_read(&self, positioned_data: &mut PositionedData) -> io::Result<()> { [INFO] [stdout] 34 + fn positioned_read(&self, positioned_data: &mut dyn PositionedData) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:43:54 [INFO] [stdout] | [INFO] [stdout] 43 | fn positioned_write(&mut self, positioned_data: &PositionedData) -> io::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] 43 - fn positioned_write(&mut self, positioned_data: &PositionedData) -> io::Result<()> { [INFO] [stdout] 43 + fn positioned_write(&mut self, positioned_data: &dyn PositionedData) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | fn dump(&self, writer: &mut Write) -> io::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] 52 - fn dump(&self, writer: &mut Write) -> io::Result<()> { [INFO] [stdout] 52 + fn dump(&self, writer: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d64.rs:238:50 [INFO] [stdout] | [INFO] [stdout] 238 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [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] 238 - fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stdout] 238 + fn blocks_ref(&self) -> ::std::cell::Ref<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d64.rs:242:57 [INFO] [stdout] | [INFO] [stdout] 242 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [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] 242 - fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stdout] 242 + fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d71.rs:259:50 [INFO] [stdout] | [INFO] [stdout] 259 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [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] 259 - fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stdout] 259 + fn blocks_ref(&self) -> ::std::cell::Ref<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d71.rs:263:57 [INFO] [stdout] | [INFO] [stdout] 263 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [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] 263 - fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stdout] 263 + fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d81.rs:264:50 [INFO] [stdout] | [INFO] [stdout] 264 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [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] 264 - fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stdout] 264 + fn blocks_ref(&self) -> ::std::cell::Ref<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d81.rs:268:57 [INFO] [stdout] | [INFO] [stdout] 268 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [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] 268 - fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stdout] 268 + fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/error.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | fn cause(&self) -> Option<&error::Error> { [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] 97 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 97 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::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] 96 - fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()>; [INFO] [stdout] 96 + fn details(&self, writer: &mut dyn Write, verbosity: usize) -> io::Result<()>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | fn reader(&self) -> io::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] 101 - fn reader(&self) -> io::Result>; [INFO] [stdout] 101 + fn reader(&self) -> io::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | fn writer(&self) -> io::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] 104 - fn writer(&self) -> io::Result>; [INFO] [stdout] 104 + fn writer(&self) -> io::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | fn dump(&self, writer: &mut Write) -> io::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] 112 - fn dump(&self, writer: &mut Write) -> io::Result<()> { [INFO] [stdout] 112 + fn dump(&self, writer: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:163:40 [INFO] [stdout] | [INFO] [stdout] 163 | fn get_specialized_file(&self) -> &FileOps { [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] 163 - fn get_specialized_file(&self) -> &FileOps { [INFO] [stdout] 163 + fn get_specialized_file(&self) -> &dyn FileOps { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:174:52 [INFO] [stdout] | [INFO] [stdout] 174 | fn get_specialized_file_mut(&mut self) -> &mut FileOps { [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] 174 - fn get_specialized_file_mut(&mut self) -> &mut FileOps { [INFO] [stdout] 174 + fn get_specialized_file_mut(&mut self) -> &mut dyn FileOps { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::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] 202 - fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] 202 + fn details(&self, writer: &mut dyn Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:210:40 [INFO] [stdout] | [INFO] [stdout] 210 | fn reader(&self) -> io::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] 210 - fn reader(&self) -> io::Result> { [INFO] [stdout] 210 + fn reader(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:214:40 [INFO] [stdout] | [INFO] [stdout] 214 | fn writer(&self) -> io::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] 214 - fn writer(&self) -> io::Result> { [INFO] [stdout] 214 + fn writer(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:270:36 [INFO] [stdout] | [INFO] [stdout] 270 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::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] 270 - fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] 270 + fn details(&self, writer: &mut dyn Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:295:40 [INFO] [stdout] | [INFO] [stdout] 295 | fn reader(&self) -> io::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] 295 - fn reader(&self) -> io::Result> { [INFO] [stdout] 295 + fn reader(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:302:40 [INFO] [stdout] | [INFO] [stdout] 302 | fn writer(&self) -> io::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] 302 - fn writer(&self) -> io::Result> { [INFO] [stdout] 302 + fn writer(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:512:36 [INFO] [stdout] | [INFO] [stdout] 512 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::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] 512 - fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] 512 + fn details(&self, writer: &mut dyn Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:540:40 [INFO] [stdout] | [INFO] [stdout] 540 | fn reader(&self) -> io::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] 540 - fn reader(&self) -> io::Result> { [INFO] [stdout] 540 + fn reader(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:544:40 [INFO] [stdout] | [INFO] [stdout] 544 | fn writer(&self) -> io::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] 544 - fn writer(&self) -> io::Result> { [INFO] [stdout] 544 + fn writer(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/geos/file.rs:140:36 [INFO] [stdout] | [INFO] [stdout] 140 | fn details(&self, writer: &mut io::Write, verbosity: usize) -> io::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] 140 - fn details(&self, writer: &mut io::Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] 140 + fn details(&self, writer: &mut dyn io::Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/geos/file.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | fn reader(&self) -> io::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] 231 - fn reader(&self) -> io::Result> { [INFO] [stdout] 231 + fn reader(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/geos/file.rs:245:40 [INFO] [stdout] | [INFO] [stdout] 245 | fn writer(&self) -> io::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] 245 - fn writer(&self) -> io::Result> { [INFO] [stdout] 245 + fn writer(&self) -> io::Result> { [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/disk/error.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | write!(f, "{}", self.description()) [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/disk/validation.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | _ => f.write_str(self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/disk/geos/file.rs:218:25 [INFO] [stdout] | [INFO] [stdout] 218 | let mut record_locations = [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: unused borrow that must be used [INFO] [stdout] --> src/petscii.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | &bytes[..src_len].copy_from_slice(&self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 148 | let _ = &bytes[..src_len].copy_from_slice(&self.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/disk/chain.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | &buf[0..nbytes].copy_from_slice(&block[0..nbytes]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 158 | let _ = &buf[0..nbytes].copy_from_slice(&block[0..nbytes]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/disk/chain.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | &self.block[offset..offset + nbytes].copy_from_slice(&buf[0..nbytes]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 335 | let _ = &self.block[offset..offset + nbytes].copy_from_slice(&buf[0..nbytes]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/disk/geos/reader.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | &mut buf[..bytes].copy_from_slice(&self.buffer[..bytes]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = &mut buf[..bytes].copy_from_slice(&self.buffer[..bytes]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:321:71 [INFO] [stdout] | [INFO] [stdout] 321 | fn open_cbm_reader(diskimage: &str, filename: &str) -> io::Result> { [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] 321 - fn open_cbm_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] 321 + fn open_cbm_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:326:73 [INFO] [stdout] | [INFO] [stdout] 326 | fn open_cbm_appender(diskimage: &str, filename: &str) -> io::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] 326 - fn open_cbm_appender(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] 326 + fn open_cbm_appender(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:344:72 [INFO] [stdout] | [INFO] [stdout] 344 | fn open_geos_reader(diskimage: &str, filename: &str) -> io::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] 344 - fn open_geos_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] 344 + fn open_geos_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:349:92 [INFO] [stdout] | [INFO] [stdout] 349 | fn open_cbm_writer(diskimage: &str, filename: &str, file_type: FileType) -> io::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] 349 - fn open_cbm_writer(diskimage: &str, filename: &str, file_type: FileType) -> io::Result> { [INFO] [stdout] 349 + fn open_cbm_writer(diskimage: &str, filename: &str, file_type: FileType) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:361:53 [INFO] [stdout] | [INFO] [stdout] 361 | fn open_fs_reader(filename: &str) -> io::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] 361 - fn open_fs_reader(filename: &str) -> io::Result> { [INFO] [stdout] 361 + fn open_fs_reader(filename: &str) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:370:53 [INFO] [stdout] | [INFO] [stdout] 370 | fn open_fs_writer(filename: &str) -> io::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] 370 - fn open_fs_writer(filename: &str) -> io::Result> { [INFO] [stdout] 370 + fn open_fs_writer(filename: &str) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.83s [INFO] running `Command { std: "docker" "inspect" "9a6ef5bb17a0b5731ebb04983607e6793965f33de81898dfb39a49e462a381fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a6ef5bb17a0b5731ebb04983607e6793965f33de81898dfb39a49e462a381fe", kill_on_drop: false }` [INFO] [stdout] 9a6ef5bb17a0b5731ebb04983607e6793965f33de81898dfb39a49e462a381fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bd6c1072b2d04d8525ad87121764a6f3ba2908dc3904c55666b28b681eb0f9a [INFO] running `Command { std: "docker" "start" "-a" "3bd6c1072b2d04d8525ad87121764a6f3ba2908dc3904c55666b28b681eb0f9a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | try!(write!(f, "{}{:04x}: ", prefix, 0)); [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/util/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | try!(write!(f, "{}{:04x}: ", prefix, offset)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | try!(write!(f, "{:02x} ", b)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | try!(write!(f, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/util/mod.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | c @ 0x20...0x7E => c as char, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | try!(writeln!(f, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | pub type BlockDeviceRef = Rc>; [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] 14 - pub type BlockDeviceRef = Rc>; [INFO] [stdout] 14 + pub type BlockDeviceRef = Rc>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/directory.rs:559:35 [INFO] [stdout] | [INFO] [stdout] 559 | type DirectoryBlockIterator = 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 559 - type DirectoryBlockIterator = Box>>; [INFO] [stdout] 559 + type DirectoryBlockIterator = Box>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:82:72 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn open>(path: P, writable: bool) -> io::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] 82 - pub fn open>(path: P, writable: bool) -> io::Result> { [INFO] [stdout] 82 + pub fn open>(path: P, writable: bool) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:437:23 [INFO] [stdout] | [INFO] [stdout] 437 | impl fmt::Display for Disk { [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] 437 - impl fmt::Display for Disk { [INFO] [stdout] 437 + impl fmt::Display for dyn Disk { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:456:21 [INFO] [stdout] | [INFO] [stdout] 456 | impl fmt::Debug for Disk { [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] 456 - impl fmt::Debug for Disk { [INFO] [stdout] 456 + impl fmt::Debug for dyn Disk { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:468:31 [INFO] [stdout] | [INFO] [stdout] 468 | impl<'a> IntoIterator for &'a Disk { [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] 468 - impl<'a> IntoIterator for &'a Disk { [INFO] [stdout] 468 + impl<'a> IntoIterator for &'a dyn Disk { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:142:46 [INFO] [stdout] | [INFO] [stdout] 142 | fn blocks_ref(&self) -> ::std::cell::Ref; [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] 142 - fn blocks_ref(&self) -> ::std::cell::Ref; [INFO] [stdout] 142 + fn blocks_ref(&self) -> ::std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:143:57 [INFO] [stdout] | [INFO] [stdout] 143 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice>; [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] 143 - fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice>; [INFO] [stdout] 143 + fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, dyn BlockDevice>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:407:37 [INFO] [stdout] | [INFO] [stdout] 407 | fn dump(&mut self, writer: &mut Write) -> io::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] 407 - fn dump(&mut self, writer: &mut Write) -> io::Result<()> { [INFO] [stdout] 407 + fn dump(&mut self, writer: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | fn positioned_read(&self, positioned_data: &mut PositionedData) -> io::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] 34 - fn positioned_read(&self, positioned_data: &mut PositionedData) -> io::Result<()> { [INFO] [stdout] 34 + fn positioned_read(&self, positioned_data: &mut dyn PositionedData) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:43:54 [INFO] [stdout] | [INFO] [stdout] 43 | fn positioned_write(&mut self, positioned_data: &PositionedData) -> io::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] 43 - fn positioned_write(&mut self, positioned_data: &PositionedData) -> io::Result<()> { [INFO] [stdout] 43 + fn positioned_write(&mut self, positioned_data: &dyn PositionedData) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | fn dump(&self, writer: &mut Write) -> io::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] 52 - fn dump(&self, writer: &mut Write) -> io::Result<()> { [INFO] [stdout] 52 + fn dump(&self, writer: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d64.rs:238:50 [INFO] [stdout] | [INFO] [stdout] 238 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [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] 238 - fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stdout] 238 + fn blocks_ref(&self) -> ::std::cell::Ref<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d64.rs:242:57 [INFO] [stdout] | [INFO] [stdout] 242 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [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] 242 - fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stdout] 242 + fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d71.rs:259:50 [INFO] [stdout] | [INFO] [stdout] 259 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [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] 259 - fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stdout] 259 + fn blocks_ref(&self) -> ::std::cell::Ref<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d71.rs:263:57 [INFO] [stdout] | [INFO] [stdout] 263 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [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] 263 - fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stdout] 263 + fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d81.rs:264:50 [INFO] [stdout] | [INFO] [stdout] 264 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [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] 264 - fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stdout] 264 + fn blocks_ref(&self) -> ::std::cell::Ref<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d81.rs:268:57 [INFO] [stdout] | [INFO] [stdout] 268 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [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] 268 - fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stdout] 268 + fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/error.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | fn cause(&self) -> Option<&error::Error> { [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] 97 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 97 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::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] 96 - fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()>; [INFO] [stdout] 96 + fn details(&self, writer: &mut dyn Write, verbosity: usize) -> io::Result<()>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | fn reader(&self) -> io::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] 101 - fn reader(&self) -> io::Result>; [INFO] [stdout] 101 + fn reader(&self) -> io::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | fn writer(&self) -> io::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] 104 - fn writer(&self) -> io::Result>; [INFO] [stdout] 104 + fn writer(&self) -> io::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | fn dump(&self, writer: &mut Write) -> io::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] 112 - fn dump(&self, writer: &mut Write) -> io::Result<()> { [INFO] [stdout] 112 + fn dump(&self, writer: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:163:40 [INFO] [stdout] | [INFO] [stdout] 163 | fn get_specialized_file(&self) -> &FileOps { [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] 163 - fn get_specialized_file(&self) -> &FileOps { [INFO] [stdout] 163 + fn get_specialized_file(&self) -> &dyn FileOps { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:174:52 [INFO] [stdout] | [INFO] [stdout] 174 | fn get_specialized_file_mut(&mut self) -> &mut FileOps { [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] 174 - fn get_specialized_file_mut(&mut self) -> &mut FileOps { [INFO] [stdout] 174 + fn get_specialized_file_mut(&mut self) -> &mut dyn FileOps { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::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] 202 - fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] 202 + fn details(&self, writer: &mut dyn Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:210:40 [INFO] [stdout] | [INFO] [stdout] 210 | fn reader(&self) -> io::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] 210 - fn reader(&self) -> io::Result> { [INFO] [stdout] 210 + fn reader(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:214:40 [INFO] [stdout] | [INFO] [stdout] 214 | fn writer(&self) -> io::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] 214 - fn writer(&self) -> io::Result> { [INFO] [stdout] 214 + fn writer(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:270:36 [INFO] [stdout] | [INFO] [stdout] 270 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::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] 270 - fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] 270 + fn details(&self, writer: &mut dyn Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:295:40 [INFO] [stdout] | [INFO] [stdout] 295 | fn reader(&self) -> io::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] 295 - fn reader(&self) -> io::Result> { [INFO] [stdout] 295 + fn reader(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:302:40 [INFO] [stdout] | [INFO] [stdout] 302 | fn writer(&self) -> io::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] 302 - fn writer(&self) -> io::Result> { [INFO] [stdout] 302 + fn writer(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:512:36 [INFO] [stdout] | [INFO] [stdout] 512 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::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] 512 - fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] 512 + fn details(&self, writer: &mut dyn Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:540:40 [INFO] [stdout] | [INFO] [stdout] 540 | fn reader(&self) -> io::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] 540 - fn reader(&self) -> io::Result> { [INFO] [stdout] 540 + fn reader(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:544:40 [INFO] [stdout] | [INFO] [stdout] 544 | fn writer(&self) -> io::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] 544 - fn writer(&self) -> io::Result> { [INFO] [stdout] 544 + fn writer(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/geos/file.rs:140:36 [INFO] [stdout] | [INFO] [stdout] 140 | fn details(&self, writer: &mut io::Write, verbosity: usize) -> io::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] 140 - fn details(&self, writer: &mut io::Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] 140 + fn details(&self, writer: &mut dyn io::Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/geos/file.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | fn reader(&self) -> io::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] 231 - fn reader(&self) -> io::Result> { [INFO] [stdout] 231 + fn reader(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/geos/file.rs:245:40 [INFO] [stdout] | [INFO] [stdout] 245 | fn writer(&self) -> io::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] 245 - fn writer(&self) -> io::Result> { [INFO] [stdout] 245 + fn writer(&self) -> io::Result> { [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/disk/error.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | write!(f, "{}", self.description()) [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/disk/validation.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | _ => f.write_str(self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/disk/geos/file.rs:218:25 [INFO] [stdout] | [INFO] [stdout] 218 | let mut record_locations = [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: unused borrow that must be used [INFO] [stdout] --> src/petscii.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | &bytes[..src_len].copy_from_slice(&self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 148 | let _ = &bytes[..src_len].copy_from_slice(&self.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/disk/chain.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | &buf[0..nbytes].copy_from_slice(&block[0..nbytes]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 158 | let _ = &buf[0..nbytes].copy_from_slice(&block[0..nbytes]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/disk/chain.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | &self.block[offset..offset + nbytes].copy_from_slice(&buf[0..nbytes]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 335 | let _ = &self.block[offset..offset + nbytes].copy_from_slice(&buf[0..nbytes]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/disk/geos/reader.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | &mut buf[..bytes].copy_from_slice(&self.buffer[..bytes]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = &mut buf[..bytes].copy_from_slice(&self.buffer[..bytes]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cbm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:321:71 [INFO] [stdout] | [INFO] [stdout] 321 | fn open_cbm_reader(diskimage: &str, filename: &str) -> io::Result> { [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] 321 - fn open_cbm_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] 321 + fn open_cbm_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:326:73 [INFO] [stdout] | [INFO] [stdout] 326 | fn open_cbm_appender(diskimage: &str, filename: &str) -> io::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] 326 - fn open_cbm_appender(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] 326 + fn open_cbm_appender(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:344:72 [INFO] [stdout] | [INFO] [stdout] 344 | fn open_geos_reader(diskimage: &str, filename: &str) -> io::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] 344 - fn open_geos_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] 344 + fn open_geos_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:349:92 [INFO] [stdout] | [INFO] [stdout] 349 | fn open_cbm_writer(diskimage: &str, filename: &str, file_type: FileType) -> io::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] 349 - fn open_cbm_writer(diskimage: &str, filename: &str, file_type: FileType) -> io::Result> { [INFO] [stdout] 349 + fn open_cbm_writer(diskimage: &str, filename: &str, file_type: FileType) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:361:53 [INFO] [stdout] | [INFO] [stdout] 361 | fn open_fs_reader(filename: &str) -> io::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] 361 - fn open_fs_reader(filename: &str) -> io::Result> { [INFO] [stdout] 361 + fn open_fs_reader(filename: &str) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:370:53 [INFO] [stdout] | [INFO] [stdout] 370 | fn open_fs_writer(filename: &str) -> io::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] 370 - fn open_fs_writer(filename: &str) -> io::Result> { [INFO] [stdout] 370 + fn open_fs_writer(filename: &str) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:321:71 [INFO] [stdout] | [INFO] [stdout] 321 | fn open_cbm_reader(diskimage: &str, filename: &str) -> io::Result> { [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] 321 - fn open_cbm_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] 321 + fn open_cbm_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:326:73 [INFO] [stdout] | [INFO] [stdout] 326 | fn open_cbm_appender(diskimage: &str, filename: &str) -> io::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] 326 - fn open_cbm_appender(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] 326 + fn open_cbm_appender(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:344:72 [INFO] [stdout] | [INFO] [stdout] 344 | fn open_geos_reader(diskimage: &str, filename: &str) -> io::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] 344 - fn open_geos_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] 344 + fn open_geos_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:349:92 [INFO] [stdout] | [INFO] [stdout] 349 | fn open_cbm_writer(diskimage: &str, filename: &str, file_type: FileType) -> io::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] 349 - fn open_cbm_writer(diskimage: &str, filename: &str, file_type: FileType) -> io::Result> { [INFO] [stdout] 349 + fn open_cbm_writer(diskimage: &str, filename: &str, file_type: FileType) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:361:53 [INFO] [stdout] | [INFO] [stdout] 361 | fn open_fs_reader(filename: &str) -> io::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] 361 - fn open_fs_reader(filename: &str) -> io::Result> { [INFO] [stdout] 361 + fn open_fs_reader(filename: &str) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cdisk.rs:370:53 [INFO] [stdout] | [INFO] [stdout] 370 | fn open_fs_writer(filename: &str) -> io::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] 370 - fn open_fs_writer(filename: &str) -> io::Result> { [INFO] [stdout] 370 + fn open_fs_writer(filename: &str) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/integration_test.rs:40:57 [INFO] [stdout] | [INFO] [stdout] 40 | fn random_available_name(rng: &mut impl Rng, disk: &Box) -> Petscii { [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] 40 - fn random_available_name(rng: &mut impl Rng, disk: &Box) -> Petscii { [INFO] [stdout] 40 + fn random_available_name(rng: &mut impl Rng, disk: &Box) -> Petscii { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/integration_test.rs:71:66 [INFO] [stdout] | [INFO] [stdout] 71 | fn new_disk(mut rng: &mut impl Rng, disk_type: &DiskType) -> 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 - fn new_disk(mut rng: &mut impl Rng, disk_type: &DiskType) -> Box { [INFO] [stdout] 71 + fn new_disk(mut rng: &mut impl Rng, disk_type: &DiskType) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/integration_test.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | fn verify_disk_state(disk: &Box, files: &Vec) -> io::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] 157 - fn verify_disk_state(disk: &Box, files: &Vec) -> io::Result<()> { [INFO] [stdout] 157 + fn verify_disk_state(disk: &Box, files: &Vec) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/integration_test.rs:101:50 [INFO] [stdout] | [INFO] [stdout] 101 | fn new(mut rng: &mut XorShiftRng, disk: &Box) -> RandomFile { [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] 101 - fn new(mut rng: &mut XorShiftRng, disk: &Box) -> RandomFile { [INFO] [stdout] 101 + fn new(mut rng: &mut XorShiftRng, disk: &Box) -> RandomFile { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/integration_test.rs:119:36 [INFO] [stdout] | [INFO] [stdout] 119 | fn write(&self, disk: &mut Box) -> io::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] 119 - fn write(&self, disk: &mut Box) -> io::Result<()> { [INFO] [stdout] 119 + fn write(&self, disk: &mut Box) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/integration_test.rs:127:33 [INFO] [stdout] | [INFO] [stdout] 127 | fn verify(&self, disk: &Box) -> io::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] 127 - fn verify(&self, disk: &Box) -> io::Result<()> { [INFO] [stdout] 127 + fn verify(&self, disk: &Box) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | try!(write!(f, "{}{:04x}: ", prefix, 0)); [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/util/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | try!(write!(f, "{}{:04x}: ", prefix, offset)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | try!(write!(f, "{:02x} ", b)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | try!(write!(f, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/util/mod.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | c @ 0x20...0x7E => c as char, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util/mod.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | try!(writeln!(f, "")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | pub type BlockDeviceRef = Rc>; [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] 14 - pub type BlockDeviceRef = Rc>; [INFO] [stdout] 14 + pub type BlockDeviceRef = Rc>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/directory.rs:559:35 [INFO] [stdout] | [INFO] [stdout] 559 | type DirectoryBlockIterator = 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 559 - type DirectoryBlockIterator = Box>>; [INFO] [stdout] 559 + type DirectoryBlockIterator = Box>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:82:72 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn open>(path: P, writable: bool) -> io::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] 82 - pub fn open>(path: P, writable: bool) -> io::Result> { [INFO] [stdout] 82 + pub fn open>(path: P, writable: bool) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:437:23 [INFO] [stdout] | [INFO] [stdout] 437 | impl fmt::Display for Disk { [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] 437 - impl fmt::Display for Disk { [INFO] [stdout] 437 + impl fmt::Display for dyn Disk { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:456:21 [INFO] [stdout] | [INFO] [stdout] 456 | impl fmt::Debug for Disk { [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] 456 - impl fmt::Debug for Disk { [INFO] [stdout] 456 + impl fmt::Debug for dyn Disk { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:468:31 [INFO] [stdout] | [INFO] [stdout] 468 | impl<'a> IntoIterator for &'a Disk { [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] 468 - impl<'a> IntoIterator for &'a Disk { [INFO] [stdout] 468 + impl<'a> IntoIterator for &'a dyn Disk { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:142:46 [INFO] [stdout] | [INFO] [stdout] 142 | fn blocks_ref(&self) -> ::std::cell::Ref; [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] 142 - fn blocks_ref(&self) -> ::std::cell::Ref; [INFO] [stdout] 142 + fn blocks_ref(&self) -> ::std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:143:57 [INFO] [stdout] | [INFO] [stdout] 143 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice>; [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] 143 - fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice>; [INFO] [stdout] 143 + fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, dyn BlockDevice>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:407:37 [INFO] [stdout] | [INFO] [stdout] 407 | fn dump(&mut self, writer: &mut Write) -> io::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] 407 - fn dump(&mut self, writer: &mut Write) -> io::Result<()> { [INFO] [stdout] 407 + fn dump(&mut self, writer: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | fn positioned_read(&self, positioned_data: &mut PositionedData) -> io::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] 34 - fn positioned_read(&self, positioned_data: &mut PositionedData) -> io::Result<()> { [INFO] [stdout] 34 + fn positioned_read(&self, positioned_data: &mut dyn PositionedData) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:43:54 [INFO] [stdout] | [INFO] [stdout] 43 | fn positioned_write(&mut self, positioned_data: &PositionedData) -> io::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] 43 - fn positioned_write(&mut self, positioned_data: &PositionedData) -> io::Result<()> { [INFO] [stdout] 43 + fn positioned_write(&mut self, positioned_data: &dyn PositionedData) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | fn dump(&self, writer: &mut Write) -> io::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] 52 - fn dump(&self, writer: &mut Write) -> io::Result<()> { [INFO] [stdout] 52 + fn dump(&self, writer: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d64.rs:238:50 [INFO] [stdout] | [INFO] [stdout] 238 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [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] 238 - fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stdout] 238 + fn blocks_ref(&self) -> ::std::cell::Ref<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d64.rs:242:57 [INFO] [stdout] | [INFO] [stdout] 242 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [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] 242 - fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stdout] 242 + fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d71.rs:259:50 [INFO] [stdout] | [INFO] [stdout] 259 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [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] 259 - fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stdout] 259 + fn blocks_ref(&self) -> ::std::cell::Ref<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d71.rs:263:57 [INFO] [stdout] | [INFO] [stdout] 263 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [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] 263 - fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stdout] 263 + fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d81.rs:264:50 [INFO] [stdout] | [INFO] [stdout] 264 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [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] 264 - fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stdout] 264 + fn blocks_ref(&self) -> ::std::cell::Ref<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d81.rs:268:57 [INFO] [stdout] | [INFO] [stdout] 268 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [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] 268 - fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stdout] 268 + fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, dyn BlockDevice> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/error.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | fn cause(&self) -> Option<&error::Error> { [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] 97 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 97 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::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] 96 - fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()>; [INFO] [stdout] 96 + fn details(&self, writer: &mut dyn Write, verbosity: usize) -> io::Result<()>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | fn reader(&self) -> io::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] 101 - fn reader(&self) -> io::Result>; [INFO] [stdout] 101 + fn reader(&self) -> io::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | fn writer(&self) -> io::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] 104 - fn writer(&self) -> io::Result>; [INFO] [stdout] 104 + fn writer(&self) -> io::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | fn dump(&self, writer: &mut Write) -> io::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] 112 - fn dump(&self, writer: &mut Write) -> io::Result<()> { [INFO] [stdout] 112 + fn dump(&self, writer: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:163:40 [INFO] [stdout] | [INFO] [stdout] 163 | fn get_specialized_file(&self) -> &FileOps { [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] 163 - fn get_specialized_file(&self) -> &FileOps { [INFO] [stdout] 163 + fn get_specialized_file(&self) -> &dyn FileOps { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:174:52 [INFO] [stdout] | [INFO] [stdout] 174 | fn get_specialized_file_mut(&mut self) -> &mut FileOps { [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] 174 - fn get_specialized_file_mut(&mut self) -> &mut FileOps { [INFO] [stdout] 174 + fn get_specialized_file_mut(&mut self) -> &mut dyn FileOps { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::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] 202 - fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] 202 + fn details(&self, writer: &mut dyn Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:210:40 [INFO] [stdout] | [INFO] [stdout] 210 | fn reader(&self) -> io::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] 210 - fn reader(&self) -> io::Result> { [INFO] [stdout] 210 + fn reader(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:214:40 [INFO] [stdout] | [INFO] [stdout] 214 | fn writer(&self) -> io::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] 214 - fn writer(&self) -> io::Result> { [INFO] [stdout] 214 + fn writer(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:270:36 [INFO] [stdout] | [INFO] [stdout] 270 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::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] 270 - fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] 270 + fn details(&self, writer: &mut dyn Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:295:40 [INFO] [stdout] | [INFO] [stdout] 295 | fn reader(&self) -> io::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] 295 - fn reader(&self) -> io::Result> { [INFO] [stdout] 295 + fn reader(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:302:40 [INFO] [stdout] | [INFO] [stdout] 302 | fn writer(&self) -> io::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] 302 - fn writer(&self) -> io::Result> { [INFO] [stdout] 302 + fn writer(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:512:36 [INFO] [stdout] | [INFO] [stdout] 512 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::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] 512 - fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] 512 + fn details(&self, writer: &mut dyn Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:540:40 [INFO] [stdout] | [INFO] [stdout] 540 | fn reader(&self) -> io::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] 540 - fn reader(&self) -> io::Result> { [INFO] [stdout] 540 + fn reader(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:544:40 [INFO] [stdout] | [INFO] [stdout] 544 | fn writer(&self) -> io::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] 544 - fn writer(&self) -> io::Result> { [INFO] [stdout] 544 + fn writer(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/geos/file.rs:140:36 [INFO] [stdout] | [INFO] [stdout] 140 | fn details(&self, writer: &mut io::Write, verbosity: usize) -> io::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] 140 - fn details(&self, writer: &mut io::Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] 140 + fn details(&self, writer: &mut dyn io::Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/geos/file.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | fn reader(&self) -> io::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] 231 - fn reader(&self) -> io::Result> { [INFO] [stdout] 231 + fn reader(&self) -> io::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/geos/file.rs:245:40 [INFO] [stdout] | [INFO] [stdout] 245 | fn writer(&self) -> io::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] 245 - fn writer(&self) -> io::Result> { [INFO] [stdout] 245 + fn writer(&self) -> io::Result> { [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/disk/error.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | write!(f, "{}", self.description()) [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/disk/validation.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | _ => f.write_str(self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/disk/geos/file.rs:218:25 [INFO] [stdout] | [INFO] [stdout] 218 | let mut record_locations = [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/petscii.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | &bytes[..src_len].copy_from_slice(&self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 148 | let _ = &bytes[..src_len].copy_from_slice(&self.0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/disk/chain.rs:158:21 [INFO] [stdout] | [INFO] [stdout] 158 | &buf[0..nbytes].copy_from_slice(&block[0..nbytes]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 158 | let _ = &buf[0..nbytes].copy_from_slice(&block[0..nbytes]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/disk/chain.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | &self.block[offset..offset + nbytes].copy_from_slice(&buf[0..nbytes]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 335 | let _ = &self.block[offset..offset + nbytes].copy_from_slice(&buf[0..nbytes]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/disk/geos/reader.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | &mut buf[..bytes].copy_from_slice(&self.buffer[..bytes]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = &mut buf[..bytes].copy_from_slice(&self.buffer[..bytes]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.05s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cbm-f1ad9296f1d55059) [INFO] [stderr] Executable unittests src/bin/cdisk.rs (/opt/rustwide/target/debug/deps/cdisk-68bd7f49f9ef80e8) [INFO] [stderr] Executable tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-e1ef3682a3c619e1) [INFO] running `Command { std: "docker" "inspect" "3bd6c1072b2d04d8525ad87121764a6f3ba2908dc3904c55666b28b681eb0f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bd6c1072b2d04d8525ad87121764a6f3ba2908dc3904c55666b28b681eb0f9a", kill_on_drop: false }` [INFO] [stdout] 3bd6c1072b2d04d8525ad87121764a6f3ba2908dc3904c55666b28b681eb0f9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8842f8998c1672d7979c9a59cc3558a6ab18066bf48918caf7730b38c56032da [INFO] running `Command { std: "docker" "start" "-a" "8842f8998c1672d7979c9a59cc3558a6ab18066bf48918caf7730b38c56032da", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/util/mod.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | try!(write!(f, "{}{:04x}: ", prefix, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/util/mod.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | try!(write!(f, "{}{:04x}: ", prefix, offset)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/util/mod.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | try!(write!(f, "{:02x} ", b)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/util/mod.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | try!(write!(f, " ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/util/mod.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | try!(write!( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/util/mod.rs:43:29 [INFO] [stderr] | [INFO] [stderr] 43 | c @ 0x20...0x7E => c as char, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/util/mod.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | try!(writeln!(f, "")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/block.rs:14:38 [INFO] [stderr] | [INFO] [stderr] 14 | pub type BlockDeviceRef = Rc>; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 - pub type BlockDeviceRef = Rc>; [INFO] [stderr] 14 + pub type BlockDeviceRef = Rc>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/directory.rs:559:35 [INFO] [stderr] | [INFO] [stderr] 559 | type DirectoryBlockIterator = Box>>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 559 - type DirectoryBlockIterator = Box>>; [INFO] [stderr] 559 + type DirectoryBlockIterator = Box>>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/mod.rs:82:72 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn open>(path: P, writable: bool) -> io::Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 82 - pub fn open>(path: P, writable: bool) -> io::Result> { [INFO] [stderr] 82 + pub fn open>(path: P, writable: bool) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/mod.rs:437:23 [INFO] [stderr] | [INFO] [stderr] 437 | impl fmt::Display for Disk { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 437 - impl fmt::Display for Disk { [INFO] [stderr] 437 + impl fmt::Display for dyn Disk { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/mod.rs:456:21 [INFO] [stderr] | [INFO] [stderr] 456 | impl fmt::Debug for Disk { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 456 - impl fmt::Debug for Disk { [INFO] [stderr] 456 + impl fmt::Debug for dyn Disk { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/mod.rs:468:31 [INFO] [stderr] | [INFO] [stderr] 468 | impl<'a> IntoIterator for &'a Disk { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 468 - impl<'a> IntoIterator for &'a Disk { [INFO] [stderr] 468 + impl<'a> IntoIterator for &'a dyn Disk { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/mod.rs:142:46 [INFO] [stderr] | [INFO] [stderr] 142 | fn blocks_ref(&self) -> ::std::cell::Ref; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 142 - fn blocks_ref(&self) -> ::std::cell::Ref; [INFO] [stderr] 142 + fn blocks_ref(&self) -> ::std::cell::Ref; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/mod.rs:143:57 [INFO] [stderr] | [INFO] [stderr] 143 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice>; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 143 - fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice>; [INFO] [stderr] 143 + fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, dyn BlockDevice>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/mod.rs:407:37 [INFO] [stderr] | [INFO] [stderr] 407 | fn dump(&mut self, writer: &mut Write) -> io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 407 - fn dump(&mut self, writer: &mut Write) -> io::Result<()> { [INFO] [stderr] 407 + fn dump(&mut self, writer: &mut dyn Write) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/block.rs:34:53 [INFO] [stderr] | [INFO] [stderr] 34 | fn positioned_read(&self, positioned_data: &mut PositionedData) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 34 - fn positioned_read(&self, positioned_data: &mut PositionedData) -> io::Result<()> { [INFO] [stderr] 34 + fn positioned_read(&self, positioned_data: &mut dyn PositionedData) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/block.rs:43:54 [INFO] [stderr] | [INFO] [stderr] 43 | fn positioned_write(&mut self, positioned_data: &PositionedData) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 43 - fn positioned_write(&mut self, positioned_data: &PositionedData) -> io::Result<()> { [INFO] [stderr] 43 + fn positioned_write(&mut self, positioned_data: &dyn PositionedData) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/block.rs:52:33 [INFO] [stderr] | [INFO] [stderr] 52 | fn dump(&self, writer: &mut Write) -> io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 52 - fn dump(&self, writer: &mut Write) -> io::Result<()> { [INFO] [stderr] 52 + fn dump(&self, writer: &mut dyn Write) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/d64.rs:238:50 [INFO] [stderr] | [INFO] [stderr] 238 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 238 - fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stderr] 238 + fn blocks_ref(&self) -> ::std::cell::Ref<'_, dyn BlockDevice> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/d64.rs:242:57 [INFO] [stderr] | [INFO] [stderr] 242 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 242 - fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stderr] 242 + fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, dyn BlockDevice> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/d71.rs:259:50 [INFO] [stderr] | [INFO] [stderr] 259 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 259 - fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stderr] 259 + fn blocks_ref(&self) -> ::std::cell::Ref<'_, dyn BlockDevice> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/d71.rs:263:57 [INFO] [stderr] | [INFO] [stderr] 263 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 263 - fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stderr] 263 + fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, dyn BlockDevice> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/d81.rs:264:50 [INFO] [stderr] | [INFO] [stderr] 264 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 264 - fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stderr] 264 + fn blocks_ref(&self) -> ::std::cell::Ref<'_, dyn BlockDevice> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/d81.rs:268:57 [INFO] [stderr] | [INFO] [stderr] 268 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 268 - fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stderr] 268 + fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, dyn BlockDevice> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/error.rs:97:32 [INFO] [stderr] | [INFO] [stderr] 97 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 97 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 97 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/file.rs:96:36 [INFO] [stderr] | [INFO] [stderr] 96 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 96 - fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()>; [INFO] [stderr] 96 + fn details(&self, writer: &mut dyn Write, verbosity: usize) -> io::Result<()>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/file.rs:101:40 [INFO] [stderr] | [INFO] [stderr] 101 | fn reader(&self) -> io::Result>; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 101 - fn reader(&self) -> io::Result>; [INFO] [stderr] 101 + fn reader(&self) -> io::Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/file.rs:104:40 [INFO] [stderr] | [INFO] [stderr] 104 | fn writer(&self) -> io::Result>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 104 - fn writer(&self) -> io::Result>; [INFO] [stderr] 104 + fn writer(&self) -> io::Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/file.rs:112:33 [INFO] [stderr] | [INFO] [stderr] 112 | fn dump(&self, writer: &mut Write) -> io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 112 - fn dump(&self, writer: &mut Write) -> io::Result<()> { [INFO] [stderr] 112 + fn dump(&self, writer: &mut dyn Write) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/file.rs:163:40 [INFO] [stderr] | [INFO] [stderr] 163 | fn get_specialized_file(&self) -> &FileOps { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 163 - fn get_specialized_file(&self) -> &FileOps { [INFO] [stderr] 163 + fn get_specialized_file(&self) -> &dyn FileOps { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/file.rs:174:52 [INFO] [stderr] | [INFO] [stderr] 174 | fn get_specialized_file_mut(&mut self) -> &mut FileOps { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 174 - fn get_specialized_file_mut(&mut self) -> &mut FileOps { [INFO] [stderr] 174 + fn get_specialized_file_mut(&mut self) -> &mut dyn FileOps { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/file.rs:202:36 [INFO] [stderr] | [INFO] [stderr] 202 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 202 - fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stderr] 202 + fn details(&self, writer: &mut dyn Write, verbosity: usize) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/file.rs:210:40 [INFO] [stderr] | [INFO] [stderr] 210 | fn reader(&self) -> io::Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 210 - fn reader(&self) -> io::Result> { [INFO] [stderr] 210 + fn reader(&self) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/file.rs:214:40 [INFO] [stderr] | [INFO] [stderr] 214 | fn writer(&self) -> io::Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 214 - fn writer(&self) -> io::Result> { [INFO] [stderr] 214 + fn writer(&self) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/file.rs:270:36 [INFO] [stderr] | [INFO] [stderr] 270 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 270 - fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stderr] 270 + fn details(&self, writer: &mut dyn Write, verbosity: usize) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/file.rs:295:40 [INFO] [stderr] | [INFO] [stderr] 295 | fn reader(&self) -> io::Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 295 - fn reader(&self) -> io::Result> { [INFO] [stderr] 295 + fn reader(&self) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/file.rs:302:40 [INFO] [stderr] | [INFO] [stderr] 302 | fn writer(&self) -> io::Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 302 - fn writer(&self) -> io::Result> { [INFO] [stderr] 302 + fn writer(&self) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/file.rs:512:36 [INFO] [stderr] | [INFO] [stderr] 512 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 512 - fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stderr] 512 + fn details(&self, writer: &mut dyn Write, verbosity: usize) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/file.rs:540:40 [INFO] [stderr] | [INFO] [stderr] 540 | fn reader(&self) -> io::Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 540 - fn reader(&self) -> io::Result> { [INFO] [stderr] 540 + fn reader(&self) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/file.rs:544:40 [INFO] [stderr] | [INFO] [stderr] 544 | fn writer(&self) -> io::Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 544 - fn writer(&self) -> io::Result> { [INFO] [stderr] 544 + fn writer(&self) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/geos/file.rs:140:36 [INFO] [stderr] | [INFO] [stderr] 140 | fn details(&self, writer: &mut io::Write, verbosity: usize) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 140 - fn details(&self, writer: &mut io::Write, verbosity: usize) -> io::Result<()> { [INFO] [stderr] 140 + fn details(&self, writer: &mut dyn io::Write, verbosity: usize) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/geos/file.rs:231:40 [INFO] [stderr] | [INFO] [stderr] 231 | fn reader(&self) -> io::Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 231 - fn reader(&self) -> io::Result> { [INFO] [stderr] 231 + fn reader(&self) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/disk/geos/file.rs:245:40 [INFO] [stderr] | [INFO] [stderr] 245 | fn writer(&self) -> io::Result> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 245 - fn writer(&self) -> io::Result> { [INFO] [stderr] 245 + fn writer(&self) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/disk/error.rs:107:30 [INFO] [stderr] | [INFO] [stderr] 107 | write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/disk/validation.rs:61:35 [INFO] [stderr] | [INFO] [stderr] 61 | _ => f.write_str(self.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/disk/geos/file.rs:218:25 [INFO] [stderr] | [INFO] [stderr] 218 | let mut record_locations = [INFO] [stderr] | ----^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/petscii.rs:148:13 [INFO] [stderr] | [INFO] [stderr] 148 | &bytes[..src_len].copy_from_slice(&self.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 148 | let _ = &bytes[..src_len].copy_from_slice(&self.0); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/disk/chain.rs:158:21 [INFO] [stderr] | [INFO] [stderr] 158 | &buf[0..nbytes].copy_from_slice(&block[0..nbytes]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 158 | let _ = &buf[0..nbytes].copy_from_slice(&block[0..nbytes]); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/disk/chain.rs:335:13 [INFO] [stderr] | [INFO] [stderr] 335 | &self.block[offset..offset + nbytes].copy_from_slice(&buf[0..nbytes]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 335 | let _ = &self.block[offset..offset + nbytes].copy_from_slice(&buf[0..nbytes]); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/disk/geos/reader.rs:215:13 [INFO] [stderr] | [INFO] [stderr] 215 | &mut buf[..bytes].copy_from_slice(&self.buffer[..bytes]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 215 | let _ = &mut buf[..bytes].copy_from_slice(&self.buffer[..bytes]); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `cbm` (lib) generated 51 warnings [INFO] [stderr] warning: `cbm` (lib test) generated 51 warnings (51 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/cdisk.rs:321:71 [INFO] [stderr] | [INFO] [stderr] 321 | fn open_cbm_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 321 - fn open_cbm_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stderr] 321 + fn open_cbm_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/cdisk.rs:326:73 [INFO] [stderr] | [INFO] [stderr] 326 | fn open_cbm_appender(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 326 - fn open_cbm_appender(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stderr] 326 + fn open_cbm_appender(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/cdisk.rs:344:72 [INFO] [stderr] | [INFO] [stderr] 344 | fn open_geos_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 344 - fn open_geos_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stderr] 344 + fn open_geos_reader(diskimage: &str, filename: &str) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/cdisk.rs:349:92 [INFO] [stderr] | [INFO] [stderr] 349 | fn open_cbm_writer(diskimage: &str, filename: &str, file_type: FileType) -> io::Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 349 - fn open_cbm_writer(diskimage: &str, filename: &str, file_type: FileType) -> io::Result> { [INFO] [stderr] 349 + fn open_cbm_writer(diskimage: &str, filename: &str, file_type: FileType) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/cdisk.rs:361:53 [INFO] [stderr] | [INFO] [stderr] 361 | fn open_fs_reader(filename: &str) -> io::Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 361 - fn open_fs_reader(filename: &str) -> io::Result> { [INFO] [stderr] 361 + fn open_fs_reader(filename: &str) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/cdisk.rs:370:53 [INFO] [stderr] | [INFO] [stderr] 370 | fn open_fs_writer(filename: &str) -> io::Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 370 - fn open_fs_writer(filename: &str) -> io::Result> { [INFO] [stderr] 370 + fn open_fs_writer(filename: &str) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/integration_test.rs:40:57 [INFO] [stderr] | [INFO] [stderr] 40 | fn random_available_name(rng: &mut impl Rng, disk: &Box) -> Petscii { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 40 - fn random_available_name(rng: &mut impl Rng, disk: &Box) -> Petscii { [INFO] [stderr] 40 + fn random_available_name(rng: &mut impl Rng, disk: &Box) -> Petscii { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/integration_test.rs:71:66 [INFO] [stderr] | [INFO] [stderr] 71 | fn new_disk(mut rng: &mut impl Rng, disk_type: &DiskType) -> Box { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 71 - fn new_disk(mut rng: &mut impl Rng, disk_type: &DiskType) -> Box { [INFO] [stderr] 71 + fn new_disk(mut rng: &mut impl Rng, disk_type: &DiskType) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/integration_test.rs:157:33 [INFO] [stderr] | [INFO] [stderr] 157 | fn verify_disk_state(disk: &Box, files: &Vec) -> io::Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 157 - fn verify_disk_state(disk: &Box, files: &Vec) -> io::Result<()> { [INFO] [stderr] 157 + fn verify_disk_state(disk: &Box, files: &Vec) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/integration_test.rs:101:50 [INFO] [stderr] | [INFO] [stderr] 101 | fn new(mut rng: &mut XorShiftRng, disk: &Box) -> RandomFile { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 101 - fn new(mut rng: &mut XorShiftRng, disk: &Box) -> RandomFile { [INFO] [stderr] 101 + fn new(mut rng: &mut XorShiftRng, disk: &Box) -> RandomFile { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/integration_test.rs:119:36 [INFO] [stderr] | [INFO] [stderr] 119 | fn write(&self, disk: &mut Box) -> io::Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 119 - fn write(&self, disk: &mut Box) -> io::Result<()> { [INFO] [stderr] 119 + fn write(&self, disk: &mut Box) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/integration_test.rs:127:33 [INFO] [stderr] | [INFO] [stderr] 127 | fn verify(&self, disk: &Box) -> io::Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 127 - fn verify(&self, disk: &Box) -> io::Result<()> { [INFO] [stderr] 127 + fn verify(&self, disk: &Box) -> io::Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `cbm` (bin "cdisk" test) generated 6 warnings [INFO] [stderr] warning: `cbm` (test "integration_test") generated 6 warnings [INFO] [stderr] warning: `cbm` (bin "cdisk") generated 6 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.63s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cbm-f1ad9296f1d55059) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test disk::bam::tests::test_bam_entry ... ok [INFO] [stdout] test disk::d64::tests::test_track_consistency ... ok [INFO] [stdout] test disk::d71::tests::test_track_consistency ... ok [INFO] [stdout] test disk::d81::tests::test_track_consistency ... ok [INFO] [stdout] test disk::directory::tests::test_directory_entry ... ok [INFO] [stdout] test petscii::tests::dump_petscii_chart ... ignored [INFO] [stdout] test petscii::tests::test_conversions ... ok [INFO] [stdout] test petscii::tests::test_padding ... ok [INFO] [stdout] test petscii::tests::test_petscii ... ok [INFO] [stdout] test petscii::tests::test_petscii_chars ... ok [INFO] [stdout] test disk::format::tests::test_directory_chain_allocation ... ok [INFO] [stdout] test disk::format::tests::test_directory_chain_allocation_geos ... ok [INFO] [stdout] test disk::format::tests::test_next_for_all_sectors_with_allocation ... ok [INFO] [stdout] test disk::format::tests::test_next_for_all_sectors ... ok [INFO] [stdout] test disk::format::tests::test_full_chain_allocation ... ok [INFO] [stdout] test disk::format::tests::test_full_chain_allocation_geos ... ok [INFO] [stdout] test disk::directory::tests::test_next_free_directory_entry ... ok [INFO] [stdout] test disk::format::tests::test_max_directory_entries ... ok [INFO] [stdout] test disk::format::tests::test_total_data_blocks ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/cdisk.rs (/opt/rustwide/target/debug/deps/cdisk-68bd7f49f9ef80e8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-e1ef3682a3c619e1) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test integration_test ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests cbm [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/util/mod.rs:43:29 [INFO] [stderr] | [INFO] [stderr] 43 | c @ 0x20...0x7E => c as char, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 53) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8842f8998c1672d7979c9a59cc3558a6ab18066bf48918caf7730b38c56032da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8842f8998c1672d7979c9a59cc3558a6ab18066bf48918caf7730b38c56032da", kill_on_drop: false }` [INFO] [stdout] 8842f8998c1672d7979c9a59cc3558a6ab18066bf48918caf7730b38c56032da