[INFO] cloning repository https://github.com/Waayway/arcanum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Waayway/arcanum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWaayway%2Farcanum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWaayway%2Farcanum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79a35d01ed262b2e12afcf28e80ed339516c0c97 [INFO] checking Waayway/arcanum/79a35d01ed262b2e12afcf28e80ed339516c0c97 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%2FWaayway%2Farcanum" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Waayway/arcanum 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/Waayway/arcanum [INFO] finished tweaking git repo https://github.com/Waayway/arcanum [INFO] tweaked toml for git repo https://github.com/Waayway/arcanum written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Waayway/arcanum 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b5d97b5378da23d6a3c54f1519c5a1dcf243661ed83afc94e68f2bfa83957090 [INFO] running `Command { std: "docker" "start" "-a" "b5d97b5378da23d6a3c54f1519c5a1dcf243661ed83afc94e68f2bfa83957090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5d97b5378da23d6a3c54f1519c5a1dcf243661ed83afc94e68f2bfa83957090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5d97b5378da23d6a3c54f1519c5a1dcf243661ed83afc94e68f2bfa83957090", kill_on_drop: false }` [INFO] [stdout] b5d97b5378da23d6a3c54f1519c5a1dcf243661ed83afc94e68f2bfa83957090 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 81eee75adfc7ff79eb606d0fbe081151f539181498cc51560e88dc0b9c02db9f [INFO] running `Command { std: "docker" "start" "-a" "81eee75adfc7ff79eb606d0fbe081151f539181498cc51560e88dc0b9c02db9f", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking parking v2.1.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking concurrent-queue v2.2.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking aho-corasick v1.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking async-task v4.4.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking bstr v1.6.2 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Checking blocking v1.3.1 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling async-process v1.7.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling async-net v1.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling chrono-tz-build v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Compiling chrono-tz v0.8.3 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking deunicode v0.4.4 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking async-executor v1.5.1 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking chunked_transfer v1.4.1 [INFO] [stderr] Compiling pest v2.7.3 [INFO] [stderr] Checking smol v1.3.0 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Checking globset v0.4.13 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling pest_meta v2.7.3 [INFO] [stderr] Compiling pest_generator v2.7.3 [INFO] [stderr] Compiling pest_derive v2.7.3 [INFO] [stderr] Checking tera v1.19.1 [INFO] [stderr] Checking arcanum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `future::Future` [INFO] [stdout] --> src/router/mod.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ collections::HashMap, vec, future::Future }; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `future::Future` [INFO] [stdout] --> src/router/enums.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, future::Future}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `number` should have an upper camel case name [INFO] [stdout] --> src/router/enums.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | number(isize), [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `string` should have an upper camel case name [INFO] [stdout] --> src/router/enums.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | string(String), [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db` [INFO] [stdout] --> src/controller.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{router::{Method, RouteHandler}, templates::Templates, db}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::Future` [INFO] [stdout] --> src/router/mod.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ collections::HashMap, vec, future::Future }; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `future::Future` [INFO] [stdout] --> src/router/enums.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, future::Future}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `number` should have an upper camel case name [INFO] [stdout] --> src/router/enums.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | number(isize), [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `string` should have an upper camel case name [INFO] [stdout] --> src/router/enums.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | string(String), [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db` [INFO] [stdout] --> src/controller.rs:1:67 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{router::{Method, RouteHandler}, templates::Templates, db}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `working` is never read [INFO] [stdout] --> src/serve.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | ... working = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut router = Arc::new(router::Router::new(routes)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bs` is never read [INFO] [stdout] --> src/controller.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct BaseModel { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 44 | bs: BaseController, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BaseModel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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/router/routes.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(func: F, res_type: Type) -> Box> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | Box::new(Route { [INFO] [stdout] | __________________^ [INFO] [stdout] 45 | | func: func, [INFO] [stdout] 46 | | res_type, [INFO] [stdout] 47 | | }) [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/router/routes.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(func: F, res_type: Type) -> Box> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | Box::new(ARoute { [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | func: func, [INFO] [stdout] 63 | | res_type, [INFO] [stdout] 64 | | }) [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/router/routes.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new(func: F, res_type: Type, controller: C) -> Box> { [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] 79 | Box::new(CRoute { [INFO] [stdout] | __________________^ [INFO] [stdout] 80 | | func, [INFO] [stdout] 81 | | res_type, [INFO] [stdout] 82 | | controller, [INFO] [stdout] 83 | | }) [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] [stderr] error: could not compile `arcanum` (lib) due to 6 previous errors; 8 warnings emitted [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/router/routes.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new(func: F, res_type: Type, controller: C) -> Box> { [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] 98 | Box::new(ACRoute { [INFO] [stdout] | __________________^ [INFO] [stdout] 99 | | func, [INFO] [stdout] 100 | | res_type, [INFO] [stdout] 101 | | controller, [INFO] [stdout] 102 | | }) [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] [stderr] warning: build failed, waiting for other jobs to finish... [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/controller.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn controller(bs: BaseController) -> Box where C: Routing { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | Box::new(C::new(bs)) [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 5 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `working` is never read [INFO] [stdout] --> src/serve.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | ... working = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut router = Arc::new(router::Router::new(routes)); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bs` is never read [INFO] [stdout] --> src/controller.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct BaseModel { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 44 | bs: BaseController, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `BaseModel` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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/router/routes.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(func: F, res_type: Type) -> Box> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | Box::new(Route { [INFO] [stdout] | __________________^ [INFO] [stdout] 45 | | func: func, [INFO] [stdout] 46 | | res_type, [INFO] [stdout] 47 | | }) [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/router/routes.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(func: F, res_type: Type) -> Box> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | Box::new(ARoute { [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | func: func, [INFO] [stdout] 63 | | res_type, [INFO] [stdout] 64 | | }) [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/router/routes.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new(func: F, res_type: Type, controller: C) -> Box> { [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] 79 | Box::new(CRoute { [INFO] [stdout] | __________________^ [INFO] [stdout] 80 | | func, [INFO] [stdout] 81 | | res_type, [INFO] [stdout] 82 | | controller, [INFO] [stdout] 83 | | }) [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/router/routes.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new(func: F, res_type: Type, controller: C) -> Box> { [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] 98 | Box::new(ACRoute { [INFO] [stdout] | __________________^ [INFO] [stdout] 99 | | func, [INFO] [stdout] 100 | | res_type, [INFO] [stdout] 101 | | controller, [INFO] [stdout] 102 | | }) [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/controller.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn controller(bs: BaseController) -> Box where C: Routing { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | Box::new(C::new(bs)) [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 5 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arcanum` (lib test) due to 6 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "81eee75adfc7ff79eb606d0fbe081151f539181498cc51560e88dc0b9c02db9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81eee75adfc7ff79eb606d0fbe081151f539181498cc51560e88dc0b9c02db9f", kill_on_drop: false }` [INFO] [stdout] 81eee75adfc7ff79eb606d0fbe081151f539181498cc51560e88dc0b9c02db9f