[INFO] fetching crate diskspace 0.5.0... [INFO] testing diskspace-0.5.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate diskspace 0.5.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate diskspace 0.5.0 [INFO] finished tweaking crates.io crate diskspace 0.5.0 [INFO] tweaked toml for crates.io crate diskspace 0.5.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate diskspace 0.5.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.48) [INFO] [stderr] Adding colored v1.9.4 (available: v3.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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 tempdir v0.3.7 [INFO] [stderr] Downloaded colored v1.9.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c4ccc1521f1d224087a0d1007fa1de325bbe2f3f6067cb273e6d4002743504a [INFO] running `Command { std: "docker" "start" "-a" "6c4ccc1521f1d224087a0d1007fa1de325bbe2f3f6067cb273e6d4002743504a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c4ccc1521f1d224087a0d1007fa1de325bbe2f3f6067cb273e6d4002743504a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c4ccc1521f1d224087a0d1007fa1de325bbe2f3f6067cb273e6d4002743504a", kill_on_drop: false }` [INFO] [stdout] 6c4ccc1521f1d224087a0d1007fa1de325bbe2f3f6067cb273e6d4002743504a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b35c941612c031a368f1793f3b447f9e83344bc130594ca168b370d025b0357 [INFO] running `Command { std: "docker" "start" "-a" "7b35c941612c031a368f1793f3b447f9e83344bc130594ca168b370d025b0357", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling diskspace v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/report.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | out: &mut io::Write, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | out: &mut dyn io::Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/report.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | out: &mut io::Write, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | out: &mut dyn io::Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> learning/report.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn report_stream(out: &mut io::Write, disk_space: BTreeMap, matches: &ArgMatches) { [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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | pub fn report_stream(out: &mut dyn io::Write, disk_space: BTreeMap, matches: &ArgMatches) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `device` is never read [INFO] [stdout] --> src/ds.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct FilesystemDevice { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 77 | pub enabled: bool, [INFO] [stdout] 78 | pub device: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> learning/ds5.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | / &children.push(thread::spawn(move || { [INFO] [stdout] 61 | | visit_dirs(path.to_owned(), &mut child_mds); [INFO] [stdout] 62 | | child_mds [INFO] [stdout] 63 | | })); [INFO] [stdout] | |_______________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = &children.push(thread::spawn(move || { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.97s [INFO] running `Command { std: "docker" "inspect" "7b35c941612c031a368f1793f3b447f9e83344bc130594ca168b370d025b0357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b35c941612c031a368f1793f3b447f9e83344bc130594ca168b370d025b0357", kill_on_drop: false }` [INFO] [stdout] 7b35c941612c031a368f1793f3b447f9e83344bc130594ca168b370d025b0357 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fbc1e6988cececa0e1e72543b7f4b7f76ce540bf31c20fef1cd10b13a6e408d [INFO] running `Command { std: "docker" "start" "-a" "9fbc1e6988cececa0e1e72543b7f4b7f76ce540bf31c20fef1cd10b13a6e408d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling diskspace v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/report.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | out: &mut io::Write, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | out: &mut dyn io::Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/report.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | out: &mut io::Write, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | out: &mut dyn io::Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `device` is never read [INFO] [stdout] --> src/ds.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct FilesystemDevice { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 77 | pub enabled: bool, [INFO] [stdout] 78 | pub device: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> learning/report.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn report_stream(out: &mut io::Write, disk_space: BTreeMap, matches: &ArgMatches) { [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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | pub fn report_stream(out: &mut dyn io::Write, disk_space: BTreeMap, matches: &ArgMatches) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> learning/ds5.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | / &children.push(thread::spawn(move || { [INFO] [stdout] 61 | | visit_dirs(path.to_owned(), &mut child_mds); [INFO] [stdout] 62 | | child_mds [INFO] [stdout] 63 | | })); [INFO] [stdout] | |_______________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = &children.push(thread::spawn(move || { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> learning/report.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn report_stream(out: &mut io::Write, disk_space: BTreeMap, matches: &ArgMatches) { [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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | pub fn report_stream(out: &mut dyn io::Write, disk_space: BTreeMap, matches: &ArgMatches) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/report.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | out: &mut io::Write, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | out: &mut dyn io::Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/report.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | out: &mut io::Write, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | out: &mut dyn io::Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> learning/ds5.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | / &children.push(thread::spawn(move || { [INFO] [stdout] 61 | | visit_dirs(path.to_owned(), &mut child_mds); [INFO] [stdout] 62 | | child_mds [INFO] [stdout] 63 | | })); [INFO] [stdout] | |_______________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = &children.push(thread::spawn(move || { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `device` is never read [INFO] [stdout] --> src/ds.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct FilesystemDevice { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 77 | pub enabled: bool, [INFO] [stdout] 78 | pub device: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "9fbc1e6988cececa0e1e72543b7f4b7f76ce540bf31c20fef1cd10b13a6e408d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fbc1e6988cececa0e1e72543b7f4b7f76ce540bf31c20fef1cd10b13a6e408d", kill_on_drop: false }` [INFO] [stdout] 9fbc1e6988cececa0e1e72543b7f4b7f76ce540bf31c20fef1cd10b13a6e408d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 18c74561ebdffca0e59276a74dc626ceb4a77bf9599b76f6da81574cc0714718 [INFO] running `Command { std: "docker" "start" "-a" "18c74561ebdffca0e59276a74dc626ceb4a77bf9599b76f6da81574cc0714718", 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/report.rs:62:15 [INFO] [stderr] | [INFO] [stderr] 62 | out: &mut io::Write, [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)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 62 | out: &mut dyn io::Write, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `diskspace` (lib) generated 1 warning (run `cargo fix --lib -p diskspace` to apply 1 suggestion) [INFO] [stderr] warning: `diskspace` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> learning/report.rs:24:32 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn report_stream(out: &mut io::Write, disk_space: BTreeMap, matches: &ArgMatches) { [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)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 | pub fn report_stream(out: &mut dyn io::Write, disk_space: BTreeMap, matches: &ArgMatches) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> learning/ds5.rs:60:21 [INFO] [stderr] | [INFO] [stderr] 60 | / &children.push(thread::spawn(move || { [INFO] [stderr] 61 | | visit_dirs(path.to_owned(), &mut child_mds); [INFO] [stderr] 62 | | child_mds [INFO] [stderr] 63 | | })); [INFO] [stderr] | |_______________________^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 60 | let _ = &children.push(thread::spawn(move || { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: field `device` is never read [INFO] [stderr] --> src/ds.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 76 | pub struct FilesystemDevice { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 77 | pub enabled: bool, [INFO] [stderr] 78 | pub device: u64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `diskspace` (bin "dsx") generated 2 warnings (run `cargo fix --bin "dsx"` to apply 1 suggestion) [INFO] [stderr] warning: `diskspace` (bin "ds" test) generated 2 warnings (1 duplicate) [INFO] [stderr] warning: `diskspace` (bin "dsx" test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: `diskspace` (bin "ds") generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ds-2dba2f210ea6db20) [INFO] [stdout] [INFO] [stdout] running 34 tests [INFO] [stdout] test ds::tests::cast_ioerror ... ok [INFO] [stdout] test ds::tests::display ... ok [INFO] [stdout] test ds::tests::cast_mutex_error ... ok [INFO] [stdout] test ds::tests::display_verbose ... ok [INFO] [stdout] test ds::tests::filesystem_device_disabled ... ok [INFO] [stdout] test ds::tests::filesystem_device_enabled ... ok [INFO] [stdout] test ds::tests::fmt_dserror ... ok [INFO] [stdout] test ds::tests::increment_err ... ok [INFO] [stdout] test ds::tests::symlink_err ... ok [INFO] [stdout] test report::tests::color_black ... ok [INFO] [stdout] test report::tests::color_blue ... ok [INFO] [stdout] test report::tests::color_cyan ... ok [INFO] [stdout] test report::tests::color_none ... ok [INFO] [stdout] test report::tests::color_green ... ok [INFO] [stdout] test report::tests::color_magenta ... ok [INFO] [stdout] test report::tests::color_white ... ok [INFO] [stdout] test ds::tests::filesystem_device_error ... ok [INFO] [stdout] test report::tests::color_red ... ok [INFO] [stdout] test report::tests::settings_lines ... ok [INFO] [stdout] test report::tests::settings_exclude ... ok [INFO] [stdout] test report::tests::color_yellow ... ok [INFO] [stdout] test report::tests::report_short_exclude ... ok [INFO] [stdout] test report::tests::report_stdout ... ok [INFO] [stdout] test report::tests::settings_all ... ok [INFO] [stdout] test report::tests::report_short_reverse ... ok [INFO] [stdout] test report::tests::simple_units_kbytes_long ... ok [INFO] [stdout] test report::tests::simple_units_mbytes ... ok [INFO] [stdout] test report::tests::simple_units_kbytes ... ok [INFO] [stdout] test report::tests::settings_reverse ... ok [INFO] [stdout] test report::tests::settings_lines_invalid_value ... ok [INFO] [stdout] test report::tests::report_long ... ok [INFO] [stdout] test report::tests::report_short ... ok [INFO] [stdout] test report::tests::settings_defaults ... ok [INFO] [stdout] test report::tests::simple_units_bytes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 34 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ds-36df40fad988a34e) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test cli::tests::dirs_default ... ok [INFO] [stdout] test cli::tests::check ... ok [INFO] [stdout] test cli::tests::dirs ... ok [INFO] [stdout] test ds::tests::display ... ok [INFO] [stdout] test ds::tests::cast_mutex_error ... ok [INFO] [stdout] test ds::tests::filesystem_device_enabled ... ok [INFO] [stdout] test ds::tests::display_verbose ... ok [INFO] [stdout] test ds::tests::filesystem_device_disabled ... ok [INFO] [stdout] test ds::tests::cast_ioerror ... ok [INFO] [stdout] test ds::tests::filesystem_device_error ... ok [INFO] [stdout] test ds::tests::fmt_dserror ... ok [INFO] [stdout] test ds::tests::increment_err ... ok [INFO] [stdout] test ds::tests::symlink_err ... ok [INFO] [stdout] test report::tests::color_black ... ok [INFO] [stdout] test report::tests::color_blue ... ok [INFO] [stdout] test report::tests::color_cyan ... ok [INFO] [stdout] test report::tests::color_green ... ok [INFO] [stdout] test report::tests::color_magenta ... ok [INFO] [stdout] test report::tests::color_none ... ok [INFO] [stdout] test report::tests::color_red ... ok [INFO] [stdout] test report::tests::color_white ... ok [INFO] [stdout] test report::tests::color_yellow ... ok [INFO] [stdout] test report::tests::report_short ... ok [INFO] [stdout] test report::tests::report_long ... ok [INFO] [stdout] test report::tests::report_short_exclude ... ok [INFO] [stdout] test report::tests::report_stdout ... ok [INFO] [stdout] test report::tests::settings_all ... ok [INFO] [stdout] test report::tests::report_short_reverse ... ok [INFO] [stdout] test report::tests::settings_exclude ... ok [INFO] [stdout] test report::tests::simple_units_bytes ... ok [INFO] [stdout] test report::tests::simple_units_kbytes ... ok [INFO] [stdout] test report::tests::settings_lines ... ok [INFO] [stdout] test report::tests::simple_units_mbytes ... ok [INFO] [stdout] test report::tests::settings_lines_invalid_value ... ok [INFO] [stdout] test report::tests::simple_units_kbytes_long ... ok [INFO] [stdout] test report::tests::settings_reverse ... ok [INFO] [stdout] test report::tests::settings_defaults ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests learning/main.rs (/opt/rustwide/target/debug/deps/dsx-06549f01b8c4c8cf) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test report::tests::color_blue ... ok [INFO] [stdout] test report::tests::color_black ... ok [INFO] [stdout] test report::tests::color_cyan ... ok [INFO] [stdout] test report::tests::color_magenta ... ok [INFO] [stdout] test report::tests::color_none ... ok [INFO] [stdout] test ds3::tests::exercise ... ok [INFO] [stdout] test report::tests::color_red ... ok [INFO] [stdout] test report::tests::color_green ... ok [INFO] [stdout] test report::tests::color_yellow ... ok [INFO] [stdout] test report::tests::report_long ... ok [INFO] [stdout] test report::tests::report_short ... ok [INFO] [stdout] test report::tests::color_white ... ok [INFO] [stdout] test report::tests::report_short_reverse ... ok [INFO] [stdout] test report::tests::report_stdout ... ok [INFO] [stdout] test report::tests::simple_units_kbytes ... ok [INFO] [stdout] test report::tests::simple_units_kbytes_long ... ok [INFO] [stdout] test report::tests::simple_units_mbytes ... ok [INFO] [stdout] test report::tests::simple_units_bytes ... ok [INFO] [stdout] test ds1::tests::test_increment ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- ds1::tests::test_increment stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'ds1::tests::test_increment' panicked at learning/ds1.rs:140:48: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5fa5226e69e2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5fa5226e69e2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5fa5226e69e2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5fa5226e69e2 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5fa52270da33 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5fa52270da33 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5fa5226e30d3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5fa5226e30d3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5fa5226e6832 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5fa5226e8359 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5fa5226e818e - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5fa5225bcf94 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5fa5225bcf94 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5fa5226e8e2e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5fa5226e8e2e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5fa5226e8afa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5fa5226e6ee9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5fa5226e878d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5fa52270c4b0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5fa52270c8e6 - core::result::unwrap_failed::h95bc3f5a607b2c95 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1765:5 [INFO] [stdout] 20: 0x5fa522576571 - core::result::Result::unwrap::hdf9bc9185bcf5fe3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x5fa522576571 - dsx::ds1::tests::test_increment::hf872ab785ff67c2b [INFO] [stdout] at /opt/rustwide/workdir/learning/ds1.rs:140:48 [INFO] [stdout] 22: 0x5fa5225764f7 - dsx::ds1::tests::test_increment::{{closure}}::heeb545c48cca4d00 [INFO] [stdout] at /opt/rustwide/workdir/learning/ds1.rs:138:24 [INFO] [stdout] 23: 0x5fa52257d286 - core::ops::function::FnOnce::call_once::hb770b7455e51f448 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x5fa5225c27fb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x5fa5225c27fb - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x5fa5225c1935 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x5fa5225c1935 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5fa5225c1935 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x5fa5225c1935 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x5fa5225c1935 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5fa5225c1935 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x5fa5225c1935 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x5fa522585534 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x5fa522585534 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5fa522588f0a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5fa522588f0a - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5fa522588f0a - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x5fa522588f0a - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x5fa522588f0a - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5fa522588f0a - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5fa522588f0a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x5fa5226ebdaf - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x5fa5226ebdaf - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x76b77c3f7aa4 - [INFO] [stdout] 45: 0x76b77c484a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] ds1::tests::test_increment [INFO] [stdout] [INFO] [stdout] test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin dsx` [INFO] running `Command { std: "docker" "inspect" "18c74561ebdffca0e59276a74dc626ceb4a77bf9599b76f6da81574cc0714718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18c74561ebdffca0e59276a74dc626ceb4a77bf9599b76f6da81574cc0714718", kill_on_drop: false }` [INFO] [stdout] 18c74561ebdffca0e59276a74dc626ceb4a77bf9599b76f6da81574cc0714718