[INFO] fetching crate diskspace 0.5.0... [INFO] building diskspace-0.5.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate diskspace 0.5.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate diskspace 0.5.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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.23) [INFO] [stderr] Adding colored v1.9.4 (available: v2.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2db36fc0102b6b5c0b9b01a60f691cf502ea55a199f9e9725beb745249ee0349 [INFO] running `Command { std: "docker" "start" "-a" "2db36fc0102b6b5c0b9b01a60f691cf502ea55a199f9e9725beb745249ee0349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2db36fc0102b6b5c0b9b01a60f691cf502ea55a199f9e9725beb745249ee0349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2db36fc0102b6b5c0b9b01a60f691cf502ea55a199f9e9725beb745249ee0349", kill_on_drop: false }` [INFO] [stdout] 2db36fc0102b6b5c0b9b01a60f691cf502ea55a199f9e9725beb745249ee0349 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 622021d369a7a40a6ca33f0803af65e5fb03f57abac78ad9e3e26981097f3f8b [INFO] running `Command { std: "docker" "start" "-a" "622021d369a7a40a6ca33f0803af65e5fb03f57abac78ad9e3e26981097f3f8b", 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.169 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rayon v1.10.0 [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] --> 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: 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 2.91s [INFO] running `Command { std: "docker" "inspect" "622021d369a7a40a6ca33f0803af65e5fb03f57abac78ad9e3e26981097f3f8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "622021d369a7a40a6ca33f0803af65e5fb03f57abac78ad9e3e26981097f3f8b", kill_on_drop: false }` [INFO] [stdout] 622021d369a7a40a6ca33f0803af65e5fb03f57abac78ad9e3e26981097f3f8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8228dc6aff3e7c3fa94e87c720377955b5a434771972dca9e54903c272914c91 [INFO] running `Command { std: "docker" "start" "-a" "8228dc6aff3e7c3fa94e87c720377955b5a434771972dca9e54903c272914c91", 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/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] [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: 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.49s [INFO] running `Command { std: "docker" "inspect" "8228dc6aff3e7c3fa94e87c720377955b5a434771972dca9e54903c272914c91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8228dc6aff3e7c3fa94e87c720377955b5a434771972dca9e54903c272914c91", kill_on_drop: false }` [INFO] [stdout] 8228dc6aff3e7c3fa94e87c720377955b5a434771972dca9e54903c272914c91