[INFO] cloning repository https://github.com/HectorHW/elizadb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HectorHW/elizadb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorHW%2Felizadb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorHW%2Felizadb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1753633d9d2875f306085c05dcf16d54fbb3f34 [INFO] checking HectorHW/elizadb/b1753633d9d2875f306085c05dcf16d54fbb3f34 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorHW%2Felizadb" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HectorHW/elizadb 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 git repo https://github.com/HectorHW/elizadb [INFO] finished tweaking git repo https://github.com/HectorHW/elizadb [INFO] tweaked toml for git repo https://github.com/HectorHW/elizadb written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HectorHW/elizadb 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 83e58f55e9d59df73962e57eb5e3a1ab4fb640763b5b1c4e4eec032782c2a5cd [INFO] running `Command { std: "docker" "start" "-a" "83e58f55e9d59df73962e57eb5e3a1ab4fb640763b5b1c4e4eec032782c2a5cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83e58f55e9d59df73962e57eb5e3a1ab4fb640763b5b1c4e4eec032782c2a5cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83e58f55e9d59df73962e57eb5e3a1ab4fb640763b5b1c4e4eec032782c2a5cd", kill_on_drop: false }` [INFO] [stdout] 83e58f55e9d59df73962e57eb5e3a1ab4fb640763b5b1c4e4eec032782c2a5cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] aebe14c0fd96900d71b3437accf7ba87109acb873aac2852d44d2188c474077d [INFO] running `Command { std: "docker" "start" "-a" "aebe14c0fd96900d71b3437accf7ba87109acb873aac2852d44d2188c474077d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling async-trait v0.1.75 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling axum-core v0.4.1 [INFO] [stderr] Compiling axum v0.7.2 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.0 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rmp-serde v1.1.2 [INFO] [stderr] Checking serde-big-array v0.5.1 [INFO] [stderr] Checking hyper v1.1.0 [INFO] [stderr] Checking hyper-util v0.1.2 [INFO] [stderr] Checking elizadb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `rights` is never used [INFO] [stdout] --> src/doublemap.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 20 | / impl DoubleMap [INFO] [stdout] 21 | | where [INFO] [stdout] 22 | | K: std::hash::Hash + Eq + Clone, [INFO] [stdout] 23 | | V: std::hash::Hash + Eq + Clone, [INFO] [stdout] | |____________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn rights(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `reiterpret`, `load_factor`, `size`, `capacity`, and `compact` are never used [INFO] [stdout] --> src/smallset.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Smallset { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn reiterpret(backing_storage: [u8; SIZE]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn load_factor(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn compact(&self, target: &mut Smallset) { [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/api.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn build_router(state: DBState) -> axum::Router { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | / Router::new() [INFO] [stdout] 21 | | .route("/terms", get(list_terms).post(create_term)) [INFO] [stdout] 22 | | .route("/items", get(list_items).post(create_item)) [INFO] [stdout] 23 | | .route( [INFO] [stdout] ... | [INFO] [stdout] 29 | | .route("/bulk/keys", post(set_keys_bulk)) [INFO] [stdout] 30 | | .route("/service/save", post(save_state)) [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/serde.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 91 | let serde: SerializationScheme = rmp_serde::decode::from_read(buffer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | Ok(Self::from_existing_data( [INFO] [stdout] | ____________^ [INFO] [stdout] 102 | | terms, [INFO] [stdout] 103 | | serde.small_keys, [INFO] [stdout] 104 | | serde.small_storage, [INFO] [stdout] 105 | | serde.big_storage, [INFO] [stdout] 106 | | )) [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/serde.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 182 | let mut db = Database::<8>::default(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | let db = Database::<8>::load(&mut reader).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | db.horizontal_query(&key), [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/serde.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 182 | let mut db = Database::<8>::default(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | let db = Database::<8>::load(&mut reader).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | / Some({ [INFO] [stdout] 201 | | let mut set = HashSet::new(); [INFO] [stdout] 202 | | set.insert("term"); [INFO] [stdout] 203 | | set [INFO] [stdout] 204 | | }) [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 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elizadb` (bin "elizadb" test) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `rights` is never used [INFO] [stdout] --> src/doublemap.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 20 | / impl DoubleMap [INFO] [stdout] 21 | | where [INFO] [stdout] 22 | | K: std::hash::Hash + Eq + Clone, [INFO] [stdout] 23 | | V: std::hash::Hash + Eq + Clone, [INFO] [stdout] | |____________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn rights(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/smallset.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Smallset { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn reiterpret(backing_storage: [u8; SIZE]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn locate_insertion_slot(&self, data: u8) -> Option<(&u8, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn remove(&mut self, data: SmallsetItem) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn load_factor(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn compact(&self, target: &mut Smallset) { [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/api.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn build_router(state: DBState) -> axum::Router { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | / Router::new() [INFO] [stdout] 21 | | .route("/terms", get(list_terms).post(create_term)) [INFO] [stdout] 22 | | .route("/items", get(list_items).post(create_item)) [INFO] [stdout] 23 | | .route( [INFO] [stdout] ... | [INFO] [stdout] 29 | | .route("/bulk/keys", post(set_keys_bulk)) [INFO] [stdout] 30 | | .route("/service/save", post(save_state)) [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/serde.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 91 | let serde: SerializationScheme = rmp_serde::decode::from_read(buffer)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | Ok(Self::from_existing_data( [INFO] [stdout] | ____________^ [INFO] [stdout] 102 | | terms, [INFO] [stdout] 103 | | serde.small_keys, [INFO] [stdout] 104 | | serde.small_storage, [INFO] [stdout] 105 | | serde.big_storage, [INFO] [stdout] 106 | | )) [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 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elizadb` (bin "elizadb") due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aebe14c0fd96900d71b3437accf7ba87109acb873aac2852d44d2188c474077d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aebe14c0fd96900d71b3437accf7ba87109acb873aac2852d44d2188c474077d", kill_on_drop: false }` [INFO] [stdout] aebe14c0fd96900d71b3437accf7ba87109acb873aac2852d44d2188c474077d