[INFO] fetching crate cbm 0.1.0... [INFO] checking cbm-0.1.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate cbm 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate cbm 0.1.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c97f0a88acf0ecfb4be3bf19fcad96677bd20021fe69bdddb44d1d52c6b702c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3c97f0a88acf0ecfb4be3bf19fcad96677bd20021fe69bdddb44d1d52c6b702c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c97f0a88acf0ecfb4be3bf19fcad96677bd20021fe69bdddb44d1d52c6b702c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c97f0a88acf0ecfb4be3bf19fcad96677bd20021fe69bdddb44d1d52c6b702c", kill_on_drop: false }` [INFO] [stdout] 3c97f0a88acf0ecfb4be3bf19fcad96677bd20021fe69bdddb44d1d52c6b702c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f11a34af8a115380cf9c373059cdacdc35bfdb7bebe71e3a210e6cb4fec6047 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5f11a34af8a115380cf9c373059cdacdc35bfdb7bebe71e3a210e6cb4fec6047", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Checking cbm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0659]: `FilenameTooLong` is ambiguous (glob import vs glob import in the same module) [INFO] [stdout] --> src/disk/error.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | FilenameTooLong => io::Error::new(InvalidInput, self), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] note: `FilenameTooLong` could refer to the unit variant imported here [INFO] [stdout] --> src/disk/error.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | use std::io::ErrorKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `FilenameTooLong` to disambiguate [INFO] [stdout] note: `FilenameTooLong` could also refer to the unit variant imported here [INFO] [stdout] --> src/disk/error.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | use self::DiskError::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `FilenameTooLong` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `FilenameTooLong` is ambiguous (glob import vs glob import in the same module) [INFO] [stdout] --> src/disk/error.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | FilenameTooLong => io::Error::new(InvalidInput, self), [INFO] [stdout] | ^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] note: `FilenameTooLong` could refer to the unit variant imported here [INFO] [stdout] --> src/disk/error.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | use std::io::ErrorKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `FilenameTooLong` to disambiguate [INFO] [stdout] note: `FilenameTooLong` could also refer to the unit variant imported here [INFO] [stdout] --> src/disk/error.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | use self::DiskError::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `FilenameTooLong` to disambiguate [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | fn positioned_read(&self, positioned_data: &mut PositionedData) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn PositionedData` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:43:54 [INFO] [stdout] | [INFO] [stdout] 43 | fn positioned_write(&mut self, positioned_data: &PositionedData) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn PositionedData` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | fn dump(&self, writer: &mut Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d64.rs:238:50 [INFO] [stdout] | [INFO] [stdout] 238 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d64.rs:242:57 [INFO] [stdout] | [INFO] [stdout] 242 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d71.rs:259:50 [INFO] [stdout] | [INFO] [stdout] 259 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d71.rs:263:57 [INFO] [stdout] | [INFO] [stdout] 263 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d81.rs:264:50 [INFO] [stdout] | [INFO] [stdout] 264 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d81.rs:268:57 [INFO] [stdout] | [INFO] [stdout] 268 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/error.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/directory.rs:559:35 [INFO] [stdout] | [INFO] [stdout] 559 | type DirectoryBlockIterator = Box>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | pub type BlockDeviceRef = Rc>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | fn positioned_read(&self, positioned_data: &mut PositionedData) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn PositionedData` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | fn reader(&self) -> io::Result>; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:43:54 [INFO] [stdout] | [INFO] [stdout] 43 | fn positioned_write(&mut self, positioned_data: &PositionedData) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn PositionedData` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | fn writer(&self) -> io::Result>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | fn dump(&self, writer: &mut Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/block.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | fn dump(&self, writer: &mut Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:163:40 [INFO] [stdout] | [INFO] [stdout] 163 | fn get_specialized_file(&self) -> &FileOps { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FileOps` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:174:52 [INFO] [stdout] | [INFO] [stdout] 174 | fn get_specialized_file_mut(&mut self) -> &mut FileOps { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FileOps` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d64.rs:238:50 [INFO] [stdout] | [INFO] [stdout] 238 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:210:40 [INFO] [stdout] | [INFO] [stdout] 210 | fn reader(&self) -> io::Result> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d64.rs:242:57 [INFO] [stdout] | [INFO] [stdout] 242 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:214:40 [INFO] [stdout] | [INFO] [stdout] 214 | fn writer(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d71.rs:259:50 [INFO] [stdout] | [INFO] [stdout] 259 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:270:36 [INFO] [stdout] | [INFO] [stdout] 270 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:295:40 [INFO] [stdout] | [INFO] [stdout] 295 | fn reader(&self) -> io::Result> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d71.rs:263:57 [INFO] [stdout] | [INFO] [stdout] 263 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:302:40 [INFO] [stdout] | [INFO] [stdout] 302 | fn writer(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d81.rs:264:50 [INFO] [stdout] | [INFO] [stdout] 264 | fn blocks_ref(&self) -> ::std::cell::Ref<'_, BlockDevice> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/d81.rs:268:57 [INFO] [stdout] | [INFO] [stdout] 268 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:512:36 [INFO] [stdout] | [INFO] [stdout] 512 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:540:40 [INFO] [stdout] | [INFO] [stdout] 540 | fn reader(&self) -> io::Result> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/error.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:544:40 [INFO] [stdout] | [INFO] [stdout] 544 | fn writer(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/geos/file.rs:140:36 [INFO] [stdout] | [INFO] [stdout] 140 | fn details(&self, writer: &mut io::Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/geos/file.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | fn reader(&self) -> io::Result> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/geos/file.rs:245:40 [INFO] [stdout] | [INFO] [stdout] 245 | fn writer(&self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:82:72 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn open>(path: P, writable: bool) -> io::Result> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Disk` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:142:46 [INFO] [stdout] | [INFO] [stdout] 142 | fn blocks_ref(&self) -> ::std::cell::Ref; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:143:57 [INFO] [stdout] | [INFO] [stdout] 143 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:407:37 [INFO] [stdout] | [INFO] [stdout] 407 | fn dump(&mut self, writer: &mut Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:437:23 [INFO] [stdout] | [INFO] [stdout] 437 | impl fmt::Display for Disk { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Disk` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:456:21 [INFO] [stdout] | [INFO] [stdout] 456 | impl fmt::Debug for Disk { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Disk` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:468:31 [INFO] [stdout] | [INFO] [stdout] 468 | impl<'a> IntoIterator for &'a Disk { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Disk` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | fn reader(&self) -> io::Result>; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | fn writer(&self) -> io::Result>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | fn dump(&self, writer: &mut Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:163:40 [INFO] [stdout] | [INFO] [stdout] 163 | fn get_specialized_file(&self) -> &FileOps { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FileOps` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:174:52 [INFO] [stdout] | [INFO] [stdout] 174 | fn get_specialized_file_mut(&mut self) -> &mut FileOps { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FileOps` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:210:40 [INFO] [stdout] | [INFO] [stdout] 210 | fn reader(&self) -> io::Result> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:214:40 [INFO] [stdout] | [INFO] [stdout] 214 | fn writer(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 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] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 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: `...` 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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:302:40 [INFO] [stdout] | [INFO] [stdout] 302 | fn writer(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:512:36 [INFO] [stdout] | [INFO] [stdout] 512 | fn details(&self, writer: &mut Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:540:40 [INFO] [stdout] | [INFO] [stdout] 540 | fn reader(&self) -> io::Result> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/file.rs:544:40 [INFO] [stdout] | [INFO] [stdout] 544 | fn writer(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/geos/file.rs:140:36 [INFO] [stdout] | [INFO] [stdout] 140 | fn details(&self, writer: &mut io::Write, verbosity: usize) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/geos/file.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | fn reader(&self) -> io::Result> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/geos/file.rs:245:40 [INFO] [stdout] | [INFO] [stdout] 245 | fn writer(&self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:82:72 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn open>(path: P, writable: bool) -> io::Result> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Disk` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:142:46 [INFO] [stdout] | [INFO] [stdout] 142 | fn blocks_ref(&self) -> ::std::cell::Ref; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:143:57 [INFO] [stdout] | [INFO] [stdout] 143 | fn blocks_ref_mut(&self) -> ::std::cell::RefMut<'_, BlockDevice>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn BlockDevice` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:407:37 [INFO] [stdout] | [INFO] [stdout] 407 | fn dump(&mut self, writer: &mut Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:437:23 [INFO] [stdout] | [INFO] [stdout] 437 | impl fmt::Display for Disk { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Disk` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:456:21 [INFO] [stdout] | [INFO] [stdout] 456 | impl fmt::Debug for Disk { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Disk` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/disk/mod.rs:468:31 [INFO] [stdout] | [INFO] [stdout] 468 | impl<'a> IntoIterator for &'a Disk { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Disk` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 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: `...` 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 issue #80165 [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: 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] error: aborting due to previous error; 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cbm` due to 2 previous errors; 46 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5f11a34af8a115380cf9c373059cdacdc35bfdb7bebe71e3a210e6cb4fec6047", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f11a34af8a115380cf9c373059cdacdc35bfdb7bebe71e3a210e6cb4fec6047", kill_on_drop: false }` [INFO] [stdout] 5f11a34af8a115380cf9c373059cdacdc35bfdb7bebe71e3a210e6cb4fec6047