[INFO] cloning repository https://github.com/stevemuller04/evrecovery [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stevemuller04/evrecovery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevemuller04%2Fevrecovery", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevemuller04%2Fevrecovery'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a74ee764d3a0082ab0d37928929000d77c41023 [INFO] testing stevemuller04/evrecovery against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevemuller04%2Fevrecovery" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stevemuller04/evrecovery [INFO] finished tweaking git repo https://github.com/stevemuller04/evrecovery [INFO] tweaked toml for git repo https://github.com/stevemuller04/evrecovery written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stevemuller04/evrecovery on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stevemuller04/evrecovery already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v1.2.7 [INFO] [stderr] Downloaded libflate v0.1.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc80fd44a24ff0f27c02cec7978e9d61d54774e1b560d13d49d53db5246c18a9 [INFO] running `Command { std: "docker" "start" "-a" "bc80fd44a24ff0f27c02cec7978e9d61d54774e1b560d13d49d53db5246c18a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc80fd44a24ff0f27c02cec7978e9d61d54774e1b560d13d49d53db5246c18a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc80fd44a24ff0f27c02cec7978e9d61d54774e1b560d13d49d53db5246c18a9", kill_on_drop: false }` [INFO] [stdout] bc80fd44a24ff0f27c02cec7978e9d61d54774e1b560d13d49d53db5246c18a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42f32457319973f04de6409d4e39cdbe1f36d5f61b3ccd6aa4c1dff4e1638e53 [INFO] running `Command { std: "docker" "start" "-a" "42f32457319973f04de6409d4e39cdbe1f36d5f61b3ccd6aa4c1dff4e1638e53", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling libflate v0.1.18 [INFO] [stderr] Compiling evrecovery v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/cfbf/mod.rs:269:62 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn dump_stream(&mut self, object: &Object, output: &mut Write, debug: &mut Debug) -> Result<(), 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 269 | pub fn dump_stream(&mut self, object: &Object, output: &mut dyn Write, debug: &mut Debug) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/cfbf/mod.rs:286:63 [INFO] [stdout] | [INFO] [stdout] 286 | fn dump_stream_mini(&mut self, object: &Object, output: &mut Write, debug: &mut Debug) -> Result<(), 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 286 | fn dump_stream_mini(&mut self, object: &Object, output: &mut dyn Write, debug: &mut Debug) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/cfbf/mod.rs:317:65 [INFO] [stdout] | [INFO] [stdout] 317 | fn dump_stream_normal(&mut self, object: &Object, output: &mut Write, debug: &mut Debug) -> Result<(), 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 | fn dump_stream_normal(&mut self, object: &Object, output: &mut dyn Write, debug: &mut Debug) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/cfbf/mod.rs:540:41 [INFO] [stdout] | [INFO] [stdout] 540 | fn write_bytes(&mut self, output: &mut Write, num_bytes: u64) -> Result<(), 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 540 | fn write_bytes(&mut self, output: &mut dyn Write, num_bytes: u64) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib/cfbf/structures.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 23 | pub signature: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | pub minor_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub major_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub byte_order: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | pub sector_shift: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | pub sector_size: u64, // virtual field; not actually contained in CFBF file [INFO] [stdout] 29 | pub mini_sector_shift: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub mini_sector_size: u64, // virtual field; not actually contained in CFBF file [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub number_of_directory_sectors: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub number_of_fat_sectors: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub number_of_mini_fat_sectors: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub first_difat_sector_location: SectorLocation, [INFO] [stdout] 38 | pub number_of_difat_sectors: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cfbfdump.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let input: Box = match inputfile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | let input: Box = match inputfile { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cfbfdump.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let input: Box = match inputfile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 | let input: Box = match inputfile { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cfbfdump.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | let mut output: Box = match outputfile { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | let mut output: Box = match outputfile { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/dvsextract.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let input: Box = match inputfile { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | let input: Box = match inputfile { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/dvsextract.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let output: Box = match outputfile { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | let output: Box = match outputfile { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/dvsrestore.rs:189:87 [INFO] [stdout] | [INFO] [stdout] 189 | fn process_dump_object(container: &mut Container, target_file: &mut Box, debug: &mut Debug) -> 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 189 | fn process_dump_object(container: &mut Container, target_file: &mut Box, debug: &mut Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/dvsrestore.rs:214:84 [INFO] [stdout] | [INFO] [stdout] 214 | fn process_dump_outsourced(inputfile_outsourced: Option, target_file: &mut Write, debug: &mut Debug) -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 | fn process_dump_outsourced(inputfile_outsourced: Option, target_file: &mut dyn Write, debug: &mut Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/dvsrestore.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let input: Box = match inputfile { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | let input: Box = match inputfile { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/dvsrestore.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | let mut target_file: Box = match target_dir { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | let mut target_file: Box = match target_dir { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ReadSeek` is never used [INFO] [stdout] --> src/bin/dvsrestore.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | trait ReadSeek: Read + Seek { } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.05s [INFO] running `Command { std: "docker" "inspect" "42f32457319973f04de6409d4e39cdbe1f36d5f61b3ccd6aa4c1dff4e1638e53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42f32457319973f04de6409d4e39cdbe1f36d5f61b3ccd6aa4c1dff4e1638e53", kill_on_drop: false }` [INFO] [stdout] 42f32457319973f04de6409d4e39cdbe1f36d5f61b3ccd6aa4c1dff4e1638e53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78fadeba7891574ad4f05f19b71d4d97e29292cdaf0c9815520d8ad60e3ebbef [INFO] running `Command { std: "docker" "start" "-a" "78fadeba7891574ad4f05f19b71d4d97e29292cdaf0c9815520d8ad60e3ebbef", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/cfbf/mod.rs:269:62 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn dump_stream(&mut self, object: &Object, output: &mut Write, debug: &mut Debug) -> Result<(), 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 269 | pub fn dump_stream(&mut self, object: &Object, output: &mut dyn Write, debug: &mut Debug) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/cfbf/mod.rs:286:63 [INFO] [stdout] | [INFO] [stdout] 286 | fn dump_stream_mini(&mut self, object: &Object, output: &mut Write, debug: &mut Debug) -> Result<(), 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 286 | fn dump_stream_mini(&mut self, object: &Object, output: &mut dyn Write, debug: &mut Debug) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/cfbf/mod.rs:317:65 [INFO] [stdout] | [INFO] [stdout] 317 | fn dump_stream_normal(&mut self, object: &Object, output: &mut Write, debug: &mut Debug) -> Result<(), 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 | fn dump_stream_normal(&mut self, object: &Object, output: &mut dyn Write, debug: &mut Debug) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/cfbf/mod.rs:540:41 [INFO] [stdout] | [INFO] [stdout] 540 | fn write_bytes(&mut self, output: &mut Write, num_bytes: u64) -> Result<(), 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 540 | fn write_bytes(&mut self, output: &mut dyn Write, num_bytes: u64) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib/cfbf/structures.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 23 | pub signature: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | pub minor_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub major_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub byte_order: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | pub sector_shift: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | pub sector_size: u64, // virtual field; not actually contained in CFBF file [INFO] [stdout] 29 | pub mini_sector_shift: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub mini_sector_size: u64, // virtual field; not actually contained in CFBF file [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub number_of_directory_sectors: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub number_of_fat_sectors: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub number_of_mini_fat_sectors: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub first_difat_sector_location: SectorLocation, [INFO] [stdout] 38 | pub number_of_difat_sectors: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling evrecovery v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/cfbf/mod.rs:269:62 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn dump_stream(&mut self, object: &Object, output: &mut Write, debug: &mut Debug) -> Result<(), 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 269 | pub fn dump_stream(&mut self, object: &Object, output: &mut dyn Write, debug: &mut Debug) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cfbfdump.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let input: Box = match inputfile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | let input: Box = match inputfile { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/cfbf/mod.rs:286:63 [INFO] [stdout] | [INFO] [stdout] 286 | fn dump_stream_mini(&mut self, object: &Object, output: &mut Write, debug: &mut Debug) -> Result<(), 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 286 | fn dump_stream_mini(&mut self, object: &Object, output: &mut dyn Write, debug: &mut Debug) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/cfbf/mod.rs:317:65 [INFO] [stdout] | [INFO] [stdout] 317 | fn dump_stream_normal(&mut self, object: &Object, output: &mut Write, debug: &mut Debug) -> Result<(), 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 | fn dump_stream_normal(&mut self, object: &Object, output: &mut dyn Write, debug: &mut Debug) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib/cfbf/mod.rs:540:41 [INFO] [stdout] | [INFO] [stdout] 540 | fn write_bytes(&mut self, output: &mut Write, num_bytes: u64) -> Result<(), 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 540 | fn write_bytes(&mut self, output: &mut dyn Write, num_bytes: u64) -> Result<(), Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cfbfdump.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let input: Box = match inputfile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 | let input: Box = match inputfile { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/cfbfdump.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | let mut output: Box = match outputfile { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | let mut output: Box = match outputfile { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/dvsextract.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | let input: Box = match inputfile { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | let input: Box = match inputfile { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/dvsextract.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let output: Box = match outputfile { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | let output: Box = match outputfile { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib/cfbf/structures.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 23 | pub signature: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | pub minor_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub major_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub byte_order: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | pub sector_shift: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | pub sector_size: u64, // virtual field; not actually contained in CFBF file [INFO] [stdout] 29 | pub mini_sector_shift: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub mini_sector_size: u64, // virtual field; not actually contained in CFBF file [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub number_of_directory_sectors: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub number_of_fat_sectors: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub number_of_mini_fat_sectors: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub first_difat_sector_location: SectorLocation, [INFO] [stdout] 38 | pub number_of_difat_sectors: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/dvsrestore.rs:189:87 [INFO] [stdout] | [INFO] [stdout] 189 | fn process_dump_object(container: &mut Container, target_file: &mut Box, debug: &mut Debug) -> 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 189 | fn process_dump_object(container: &mut Container, target_file: &mut Box, debug: &mut Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/dvsrestore.rs:214:84 [INFO] [stdout] | [INFO] [stdout] 214 | fn process_dump_outsourced(inputfile_outsourced: Option, target_file: &mut Write, debug: &mut Debug) -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 | fn process_dump_outsourced(inputfile_outsourced: Option, target_file: &mut dyn Write, debug: &mut Debug) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/dvsrestore.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let input: Box = match inputfile { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | let input: Box = match inputfile { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/dvsrestore.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | let mut target_file: Box = match target_dir { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | let mut target_file: Box = match target_dir { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ReadSeek` is never used [INFO] [stdout] --> src/bin/dvsrestore.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | trait ReadSeek: Read + Seek { } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "78fadeba7891574ad4f05f19b71d4d97e29292cdaf0c9815520d8ad60e3ebbef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78fadeba7891574ad4f05f19b71d4d97e29292cdaf0c9815520d8ad60e3ebbef", kill_on_drop: false }` [INFO] [stdout] 78fadeba7891574ad4f05f19b71d4d97e29292cdaf0c9815520d8ad60e3ebbef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7a35e2116016b76ecabea0924612a65e7d32b8003b9489c0e9e7e5fdfd37c050 [INFO] running `Command { std: "docker" "start" "-a" "7a35e2116016b76ecabea0924612a65e7d32b8003b9489c0e9e7e5fdfd37c050", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib/cfbf/mod.rs:269:62 [INFO] [stderr] | [INFO] [stderr] 269 | pub fn dump_stream(&mut self, object: &Object, output: &mut Write, debug: &mut Debug) -> Result<(), 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 269 | pub fn dump_stream(&mut self, object: &Object, output: &mut dyn Write, debug: &mut Debug) -> Result<(), Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib/cfbf/mod.rs:286:63 [INFO] [stderr] | [INFO] [stderr] 286 | fn dump_stream_mini(&mut self, object: &Object, output: &mut Write, debug: &mut Debug) -> Result<(), 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 286 | fn dump_stream_mini(&mut self, object: &Object, output: &mut dyn Write, debug: &mut Debug) -> Result<(), Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib/cfbf/mod.rs:317:65 [INFO] [stderr] | [INFO] [stderr] 317 | fn dump_stream_normal(&mut self, object: &Object, output: &mut Write, debug: &mut Debug) -> Result<(), 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 317 | fn dump_stream_normal(&mut self, object: &Object, output: &mut dyn Write, debug: &mut Debug) -> Result<(), Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib/cfbf/mod.rs:540:41 [INFO] [stderr] | [INFO] [stderr] 540 | fn write_bytes(&mut self, output: &mut Write, num_bytes: u64) -> Result<(), 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 540 | fn write_bytes(&mut self, output: &mut dyn Write, num_bytes: u64) -> Result<(), Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/lib/cfbf/structures.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct Header { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 23 | pub signature: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 24 | pub minor_version: u16, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 25 | pub major_version: u16, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 26 | pub byte_order: u16, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 27 | pub sector_shift: u16, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 28 | pub sector_size: u64, // virtual field; not actually contained in CFBF file [INFO] [stderr] 29 | pub mini_sector_shift: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 30 | pub mini_sector_size: u64, // virtual field; not actually contained in CFBF file [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 31 | pub number_of_directory_sectors: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 32 | pub number_of_fat_sectors: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | pub number_of_mini_fat_sectors: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 37 | pub first_difat_sector_location: SectorLocation, [INFO] [stderr] 38 | pub number_of_difat_sectors: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `evrecovery` (lib) generated 5 warnings (run `cargo fix --lib -p evrecovery` to apply 4 suggestions) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/dvsextract.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | let input: Box = match inputfile { [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 59 | let input: Box = match inputfile { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/dvsextract.rs:63:18 [INFO] [stderr] | [INFO] [stderr] 63 | let output: Box = match outputfile { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 63 | let output: Box = match outputfile { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/dvsrestore.rs:189:87 [INFO] [stderr] | [INFO] [stderr] 189 | fn process_dump_object(container: &mut Container, target_file: &mut Box, debug: &mut Debug) -> 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 189 | fn process_dump_object(container: &mut Container, target_file: &mut Box, debug: &mut Debug) -> Result { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/dvsrestore.rs:214:84 [INFO] [stderr] | [INFO] [stderr] 214 | fn process_dump_outsourced(inputfile_outsourced: Option, target_file: &mut Write, debug: &mut Debug) -> 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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 214 | fn process_dump_outsourced(inputfile_outsourced: Option, target_file: &mut dyn Write, debug: &mut Debug) -> Result { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/dvsrestore.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | let input: Box = match inputfile { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 77 | let input: Box = match inputfile { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/dvsrestore.rs:138:27 [INFO] [stderr] | [INFO] [stderr] 138 | let mut target_file: Box = match target_dir { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 138 | let mut target_file: Box = match target_dir { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait `ReadSeek` is never used [INFO] [stderr] --> src/bin/dvsrestore.rs:34:7 [INFO] [stderr] | [INFO] [stderr] 34 | trait ReadSeek: Read + Seek { } [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/cfbfdump.rs:95:17 [INFO] [stderr] | [INFO] [stderr] 95 | let input: Box = match inputfile { [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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 95 | let input: Box = match inputfile { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/cfbfdump.rs:142:17 [INFO] [stderr] | [INFO] [stderr] 142 | let input: Box = match inputfile { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 142 | let input: Box = match inputfile { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/cfbfdump.rs:146:22 [INFO] [stderr] | [INFO] [stderr] 146 | let mut output: Box = match outputfile { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 146 | let mut output: Box = match outputfile { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `evrecovery` (bin "dvsextract" test) generated 2 warnings (run `cargo fix --bin "dvsextract" --tests` to apply 2 suggestions) [INFO] [stderr] warning: `evrecovery` (bin "dvsrestore" test) generated 5 warnings (run `cargo fix --bin "dvsrestore" --tests` to apply 4 suggestions) [INFO] [stderr] warning: `evrecovery` (bin "cfbfdump" test) generated 3 warnings (run `cargo fix --bin "cfbfdump" --tests` to apply 3 suggestions) [INFO] [stderr] warning: `evrecovery` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib/mod.rs (/opt/rustwide/target/debug/deps/evrecovery-17c41243d830aee4) [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 unittests src/bin/cfbfdump.rs (/opt/rustwide/target/debug/deps/cfbfdump-e1095deb1785970b) [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 unittests src/bin/dvsextract.rs (/opt/rustwide/target/debug/deps/dvsextract-94f6401842ac14af) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/dvsrestore.rs (/opt/rustwide/target/debug/deps/dvsrestore-3dee02c4f7bd5304) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests evrecovery [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib/cfbf/mod.rs - cfbf::Container::find_child_by_path (line 184) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib/cfbf/mod.rs - cfbf::Container::find_child_by_path (line 184) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `container` in this scope [INFO] [stdout] --> src/lib/cfbf/mod.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 3 | container.find_child_by_path(&["Root Entry".to_owned(), "Dir1".to_owned(), "Dir2".to_owned(), "MyFile".to_owned()]) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib/cfbf/mod.rs - cfbf::Container::find_child_by_path (line 184) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7a35e2116016b76ecabea0924612a65e7d32b8003b9489c0e9e7e5fdfd37c050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a35e2116016b76ecabea0924612a65e7d32b8003b9489c0e9e7e5fdfd37c050", kill_on_drop: false }` [INFO] [stdout] 7a35e2116016b76ecabea0924612a65e7d32b8003b9489c0e9e7e5fdfd37c050