[INFO] fetching crate rsperftools 0.3.3... [INFO] checking rsperftools-0.3.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rsperftools 0.3.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rsperftools 0.3.3 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 rsperftools 0.3.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rsperftools 0.3.3 [INFO] tweaked toml for crates.io crate rsperftools 0.3.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate rsperftools 0.3.3 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] 05aec0b4fe4a28756c296401f97fdaa12846fe40bc4ac8e0b8157259cbcbd5a2 [INFO] running `Command { std: "docker" "start" "-a" "05aec0b4fe4a28756c296401f97fdaa12846fe40bc4ac8e0b8157259cbcbd5a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05aec0b4fe4a28756c296401f97fdaa12846fe40bc4ac8e0b8157259cbcbd5a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05aec0b4fe4a28756c296401f97fdaa12846fe40bc4ac8e0b8157259cbcbd5a2", kill_on_drop: false }` [INFO] [stdout] 05aec0b4fe4a28756c296401f97fdaa12846fe40bc4ac8e0b8157259cbcbd5a2 [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] cbbfc36e0bb97993661f5aeee54e294d534465415f8d81882f192db4ba44f1ac [INFO] running `Command { std: "docker" "start" "-a" "cbbfc36e0bb97993661f5aeee54e294d534465415f8d81882f192db4ba44f1ac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking rsperftools v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / quick_error! { [INFO] [stdout] 2 | | #[derive(Debug)] [INFO] [stdout] 3 | | pub enum Error { [INFO] [stdout] 4 | | NixError(err: nix::Error) { [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / quick_error! { [INFO] [stdout] 2 | | #[derive(Debug)] [INFO] [stdout] 3 | | pub enum Error { [INFO] [stdout] 4 | | NixError(err: nix::Error) { [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / quick_error! { [INFO] [stdout] 2 | | #[derive(Debug)] [INFO] [stdout] 3 | | pub enum Error { [INFO] [stdout] 4 | | NixError(err: nix::Error) { [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / quick_error! { [INFO] [stdout] 2 | | #[derive(Debug)] [INFO] [stdout] 3 | | pub enum Error { [INFO] [stdout] 4 | | NixError(err: nix::Error) { [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / quick_error! { [INFO] [stdout] 2 | | #[derive(Debug)] [INFO] [stdout] 3 | | pub enum Error { [INFO] [stdout] 4 | | NixError(err: nix::Error) { [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / quick_error! { [INFO] [stdout] 2 | | #[derive(Debug)] [INFO] [stdout] 3 | | pub enum Error { [INFO] [stdout] 4 | | NixError(err: nix::Error) { [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / quick_error! { [INFO] [stdout] 2 | | #[derive(Debug)] [INFO] [stdout] 3 | | pub enum Error { [INFO] [stdout] 4 | | NixError(err: nix::Error) { [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / quick_error! { [INFO] [stdout] 2 | | #[derive(Debug)] [INFO] [stdout] 3 | | pub enum Error { [INFO] [stdout] 4 | | NixError(err: nix::Error) { [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / quick_error! { [INFO] [stdout] 2 | | #[derive(Debug)] [INFO] [stdout] 3 | | pub enum Error { [INFO] [stdout] 4 | | NixError(err: nix::Error) { [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / quick_error! { [INFO] [stdout] 2 | | #[derive(Debug)] [INFO] [stdout] 3 | | pub enum Error { [INFO] [stdout] 4 | | NixError(err: nix::Error) { [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr`, `lineno`, and `filename` are never read [INFO] [stdout] --> src/frames.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Symbol { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 100 | name: Option>, [INFO] [stdout] 101 | addr: Option<*mut c_void>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 102 | lineno: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 103 | filename: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[collector::Entry; 4]` does not permit being left uninitialized [INFO] [stdout] --> src/collector.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | entries: unsafe { std::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/collector.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[Bucket; 20]` does not permit being left uninitialized [INFO] [stdout] --> src/collector.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | buckets: unsafe { std::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/collector.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub length: usize, [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/collector.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 147 | let file = tempfile::tempfile()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 149 | | file, [INFO] [stdout] 150 | | buffer: unsafe { std::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] 151 | | buffer_index: 0, [INFO] [stdout] 152 | | phantom: PhantomData, [INFO] [stdout] 153 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] warning: the type `[Frame; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/frames.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { std::mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.40/src/backtrace/libunwind.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Frame { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 16]` does not permit being left uninitialized [INFO] [stdout] --> src/frames.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { std::mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[Frame; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/profiler.rs:64:47 [INFO] [stdout] | [INFO] [stdout] 64 | let mut bt: [Frame; MAX_DEPTH] = unsafe { std::mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.40/src/backtrace/libunwind.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Frame { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[i8; 16]` does not permit being left uninitialized [INFO] [stdout] --> src/profiler.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { std::mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsperftools` (lib) due to 2 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `addr`, `lineno`, and `filename` are never read [INFO] [stdout] --> src/frames.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Symbol { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 100 | name: Option>, [INFO] [stdout] 101 | addr: Option<*mut c_void>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 102 | lineno: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 103 | filename: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[collector::Entry; 4]` does not permit being left uninitialized [INFO] [stdout] --> src/collector.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | entries: unsafe { std::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/collector.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[Bucket; 20]` does not permit being left uninitialized [INFO] [stdout] --> src/collector.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | buckets: unsafe { std::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/collector.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub length: usize, [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/collector.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 147 | let file = tempfile::tempfile()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 149 | | file, [INFO] [stdout] 150 | | buffer: unsafe { std::mem::MaybeUninit::uninit().assume_init() }, [INFO] [stdout] 151 | | buffer_index: 0, [INFO] [stdout] 152 | | phantom: PhantomData, [INFO] [stdout] 153 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] warning: the type `[Frame; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/frames.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { std::mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.40/src/backtrace/libunwind.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Frame { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 16]` does not permit being left uninitialized [INFO] [stdout] --> src/frames.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { std::mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[Frame; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/profiler.rs:64:47 [INFO] [stdout] | [INFO] [stdout] 64 | let mut bt: [Frame; MAX_DEPTH] = unsafe { std::mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: enums with multiple inhabited variants have to be initialized to a variant [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.40/src/backtrace/libunwind.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Frame { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[i8; 16]` does not permit being left uninitialized [INFO] [stdout] --> src/profiler.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { std::mem::MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsperftools` (lib test) due to 2 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cbbfc36e0bb97993661f5aeee54e294d534465415f8d81882f192db4ba44f1ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbbfc36e0bb97993661f5aeee54e294d534465415f8d81882f192db4ba44f1ac", kill_on_drop: false }` [INFO] [stdout] cbbfc36e0bb97993661f5aeee54e294d534465415f8d81882f192db4ba44f1ac