[INFO] fetching crate profilr-db 0.1.0... [INFO] checking profilr-db-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate profilr-db 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate profilr-db 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate profilr-db 0.1.0 [INFO] finished tweaking crates.io crate profilr-db 0.1.0 [INFO] tweaked toml for crates.io crate profilr-db 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate profilr-db 0.1.0 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07c6c92a16f0a36c9ec6aad38b3014d911ccbc663f3ee54a9c0278fe5ccc782d [INFO] running `Command { std: "docker" "start" "-a" "07c6c92a16f0a36c9ec6aad38b3014d911ccbc663f3ee54a9c0278fe5ccc782d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07c6c92a16f0a36c9ec6aad38b3014d911ccbc663f3ee54a9c0278fe5ccc782d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07c6c92a16f0a36c9ec6aad38b3014d911ccbc663f3ee54a9c0278fe5ccc782d", kill_on_drop: false }` [INFO] [stdout] 07c6c92a16f0a36c9ec6aad38b3014d911ccbc663f3ee54a9c0278fe5ccc782d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02351eada32bb59de5fbf95a2b64874f4efa6a6666a644655454a203b8559dd2 [INFO] running `Command { std: "docker" "start" "-a" "02351eada32bb59de5fbf95a2b64874f4efa6a6666a644655454a203b8559dd2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking profilr-db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::read` [INFO] [stdout] --> src/main.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fs::read}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::read` [INFO] [stdout] --> src/main.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fs::read}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Map` and `TimeSeries` are never constructed [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum ProfileType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 8 | Map, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | TimeSeries, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `extinct` and `content` are never read [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Profile { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 14 | extinct: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | line: Option, [INFO] [stdout] 16 | content: Box>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Profile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/main.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Profile { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 20 | fn from(hs: HashMap>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 38 | store: RwLock>, [INFO] [stdout] 39 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Database` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump` is never used [INFO] [stdout] --> src/main.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 45 | impl Database { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | async fn dump(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 20 | fn from(hs: HashMap>) -> Self { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | content: Box::new(hs), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `profilr-db` (bin "profilr-db" test) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variants `Map` and `TimeSeries` are never constructed [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum ProfileType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 8 | Map, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | TimeSeries, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `extinct` and `content` are never read [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Profile { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 14 | extinct: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | line: Option, [INFO] [stdout] 16 | content: Box>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Profile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/main.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Profile { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 20 | fn from(hs: HashMap>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 38 | store: RwLock>, [INFO] [stdout] 39 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Database` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump` is never used [INFO] [stdout] --> src/main.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 45 | impl Database { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | async fn dump(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 20 | fn from(hs: HashMap>) -> Self { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | content: Box::new(hs), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `profilr-db` (bin "profilr-db") due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "02351eada32bb59de5fbf95a2b64874f4efa6a6666a644655454a203b8559dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02351eada32bb59de5fbf95a2b64874f4efa6a6666a644655454a203b8559dd2", kill_on_drop: false }` [INFO] [stdout] 02351eada32bb59de5fbf95a2b64874f4efa6a6666a644655454a203b8559dd2