[INFO] fetching crate mdb 0.0.1... [INFO] checking mdb-0.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mdb 0.0.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate mdb 0.0.1 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 mdb 0.0.1 [INFO] finished tweaking crates.io crate mdb 0.0.1 [INFO] tweaked toml for crates.io crate mdb 0.0.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate mdb 0.0.1 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ee837ff49d6eebc8e9cc005ea5d0370cb220e13d7c6f7554e0ce0013a9f8442a [INFO] running `Command { std: "docker" "start" "-a" "ee837ff49d6eebc8e9cc005ea5d0370cb220e13d7c6f7554e0ce0013a9f8442a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee837ff49d6eebc8e9cc005ea5d0370cb220e13d7c6f7554e0ce0013a9f8442a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee837ff49d6eebc8e9cc005ea5d0370cb220e13d7c6f7554e0ce0013a9f8442a", kill_on_drop: false }` [INFO] [stdout] ee837ff49d6eebc8e9cc005ea5d0370cb220e13d7c6f7554e0ce0013a9f8442a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 46919dc176d31d4403ff670b67f438c14e6332faa751d1a534de5b0e38d71583 [INFO] running `Command { std: "docker" "start" "-a" "46919dc176d31d4403ff670b67f438c14e6332faa751d1a534de5b0e38d71583", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling bytecheck v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rend v0.3.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling rkyv v0.7.17 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking tinyvec v1.4.0 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling bytecheck_derive v0.6.5 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling rkyv_derive v0.7.17 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Checking mdb v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Archive` [INFO] [stdout] --> src/db.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | use rkyv::{ser::serializers::AllocSerializer, Archive, Deserialize, Infallible, Serialize}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Archive` [INFO] [stdout] --> src/db.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | use rkyv::{ser::serializers::AllocSerializer, Archive, Deserialize, Infallible, Serialize}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/db.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | pub async fn read_last(depth: u64) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/db.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | pub async fn read_last(depth: u64) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path_builder` is never read [INFO] [stdout] --> src/epoch.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Epoch { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | path_builder: PathBuilder, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/db.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Magma { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `curr_epoch` is never read [INFO] [stdout] --> src/db.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct EpochIter<'a, T: Tick> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 151 | epoch_iter: Iter<'a, u64>, [INFO] [stdout] 152 | curr_epoch: Option>, [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/index/trie_node.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn with_key_value(key_fragments: Nibblet, key: K, value: V) -> TrieNode { [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | key_value: Some(Box::new(KeyValue { [INFO] [stdout] | ________________________^ [INFO] [stdout] 61 | | key: key, [INFO] [stdout] 62 | | value: value, [INFO] [stdout] 63 | | })), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/index/trie_node.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn with_key_value(key_fragments: Nibblet, key: K, value: V) -> TrieNode { [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | children: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/data_file.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 33 | | file, [INFO] [stdout] 34 | | _phantom: PhantomData, [INFO] [stdout] 35 | | }) [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] [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/data_file.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mmap = unsafe { MmapOptions::new().map(&self.file).unwrap() }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | / archived_value [INFO] [stdout] 104 | | .deserialize(&mut deserializer) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/epoch.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub type FrameIndex = Trie; [INFO] [stdout] | --^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [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/epoch.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 35 | let mut frame_index_backing = [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let frame_index = frame_index_backing [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | Ok(Epoch { [INFO] [stdout] | ____________^ [INFO] [stdout] 43 | | frame_index_backing, [INFO] [stdout] 44 | | frame_index, [INFO] [stdout] 45 | | epoch, [INFO] [stdout] 46 | | tainted: false, [INFO] [stdout] 47 | | path_builder: path_builder.clone(), [INFO] [stdout] 48 | | }) [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] [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/epoch.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | .map(|(time, item)| Frame::new(*time, item.clone())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/db.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(asset: &str, base_path: impl AsRef) -> Result> { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | let mut epoch_index_backing = [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | Ok(Magma { [INFO] [stdout] | ____________^ [INFO] [stdout] 50 | | asset: asset.to_string(), [INFO] [stdout] 51 | | source: None, [INFO] [stdout] 52 | | epoch_index_backing, [INFO] [stdout] ... | [INFO] [stdout] 56 | | _phantom: PhantomData, [INFO] [stdout] 57 | | }) [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mdb` (lib) due to 8 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `encode_bytes` is never used [INFO] [stdout] --> src/index/keys.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub trait AsTrieKey { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 214 | fn encode_bytes(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path_builder` is never read [INFO] [stdout] --> src/epoch.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Epoch { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | path_builder: PathBuilder, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/db.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Magma { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `curr_epoch` is never read [INFO] [stdout] --> src/db.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct EpochIter<'a, T: Tick> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 151 | epoch_iter: Iter<'a, u64>, [INFO] [stdout] 152 | curr_epoch: Option>, [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/index/trie_node.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn with_key_value(key_fragments: Nibblet, key: K, value: V) -> TrieNode { [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | key_value: Some(Box::new(KeyValue { [INFO] [stdout] | ________________________^ [INFO] [stdout] 61 | | key: key, [INFO] [stdout] 62 | | value: value, [INFO] [stdout] 63 | | })), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/index/trie_node.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn with_key_value(key_fragments: Nibblet, key: K, value: V) -> TrieNode { [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | children: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/data_file.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Ok(DataFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 33 | | file, [INFO] [stdout] 34 | | _phantom: PhantomData, [INFO] [stdout] 35 | | }) [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] [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/data_file.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mmap = unsafe { MmapOptions::new().map(&self.file).unwrap() }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | / archived_value [INFO] [stdout] 104 | | .deserialize(&mut deserializer) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/epoch.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub type FrameIndex = Trie; [INFO] [stdout] | --^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [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/epoch.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 35 | let mut frame_index_backing = [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let frame_index = frame_index_backing [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | Ok(Epoch { [INFO] [stdout] | ____________^ [INFO] [stdout] 43 | | frame_index_backing, [INFO] [stdout] 44 | | frame_index, [INFO] [stdout] 45 | | epoch, [INFO] [stdout] 46 | | tainted: false, [INFO] [stdout] 47 | | path_builder: path_builder.clone(), [INFO] [stdout] 48 | | }) [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] [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/epoch.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | .map(|(time, item)| Frame::new(*time, item.clone())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/db.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(asset: &str, base_path: impl AsRef) -> Result> { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | let mut epoch_index_backing = [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | Ok(Magma { [INFO] [stdout] | ____________^ [INFO] [stdout] 50 | | asset: asset.to_string(), [INFO] [stdout] 51 | | source: None, [INFO] [stdout] 52 | | epoch_index_backing, [INFO] [stdout] ... | [INFO] [stdout] 56 | | _phantom: PhantomData, [INFO] [stdout] 57 | | }) [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mdb` (lib test) due to 8 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "46919dc176d31d4403ff670b67f438c14e6332faa751d1a534de5b0e38d71583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46919dc176d31d4403ff670b67f438c14e6332faa751d1a534de5b0e38d71583", kill_on_drop: false }` [INFO] [stdout] 46919dc176d31d4403ff670b67f438c14e6332faa751d1a534de5b0e38d71583