[INFO] cloning repository https://github.com/apascualco/flaggy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/apascualco/flaggy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapascualco%2Fflaggy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapascualco%2Fflaggy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd3f43abd4033df7895623ffb29d58caeff5787a [INFO] checking apascualco/flaggy/bd3f43abd4033df7895623ffb29d58caeff5787a 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%2Fapascualco%2Fflaggy" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/apascualco/flaggy 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/apascualco/flaggy [INFO] finished tweaking git repo https://github.com/apascualco/flaggy [INFO] tweaked toml for git repo https://github.com/apascualco/flaggy written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/apascualco/flaggy 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d1f4e2067220de9da2ad45b1441eb3f2453e700c86ecaa6d7b3a5dfde04305bb [INFO] running `Command { std: "docker" "start" "-a" "d1f4e2067220de9da2ad45b1441eb3f2453e700c86ecaa6d7b3a5dfde04305bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1f4e2067220de9da2ad45b1441eb3f2453e700c86ecaa6d7b3a5dfde04305bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1f4e2067220de9da2ad45b1441eb3f2453e700c86ecaa6d7b3a5dfde04305bb", kill_on_drop: false }` [INFO] [stdout] d1f4e2067220de9da2ad45b1441eb3f2453e700c86ecaa6d7b3a5dfde04305bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c974973e6cee88ba923cb9c10f9d289dcde1d4f92226ab50c9e8e76eae4b1357 [INFO] running `Command { std: "docker" "start" "-a" "c974973e6cee88ba923cb9c10f9d289dcde1d4f92226ab50c9e8e76eae4b1357", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling mysqlclient-sys v0.2.5 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Compiling diesel_derives v2.1.4 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking diesel v2.1.6 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking actix-http v3.6.0 [INFO] [stderr] Checking actix-web v4.5.1 [INFO] [stderr] Checking flaggy v0.1.0 (/opt/rustwide/workdir) [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/infrastructure/server/middleware/logger.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | fn new_transform(&self, service: S) -> Self::Future { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | ok(LoggerMiddleware { [INFO] [stdout] | ____________^ [INFO] [stdout] 27 | | service: Rc::new(service), [INFO] [stdout] 28 | | }) [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/infrastructure/server/middleware/logger.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 50 | fn call(&self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | let fut = self.service.call(req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 60 | | let res = fut.await?; [INFO] [stdout] 61 | | let duration = start.elapsed(); [INFO] [stdout] 62 | | println!("{} {:?} ms", request, duration.as_millis()); [INFO] [stdout] 63 | | Ok(res) [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/infrastructure/server/middleware/security.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | fn new_transform(&self, service: S) -> Self::Future { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | ok(SecurityMiddleware { [INFO] [stdout] | ____________^ [INFO] [stdout] 29 | | service: Rc::new(service), [INFO] [stdout] 30 | | min_role: self.min_role.clone() [INFO] [stdout] 31 | | }) [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/infrastructure/server/middleware/security.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 54 | fn call(&self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | match TokenClaims::new(token) { [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/infrastructure/server/server.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 23 | let user_creator = Arc::new(UserCreatorService::new(user_repository.clone())); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let login = Arc::new(LoginService::new(user_repository.clone())); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let feature_creator = Arc::new(FeatureCreatorService::new(user_repository.clone())); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | / App::new() [INFO] [stdout] 29 | | .wrap(Logger) [INFO] [stdout] 30 | | .route("/health", web::get().to(health)) [INFO] [stdout] 31 | | .service( [INFO] [stdout] ... | [INFO] [stdout] 39 | | .route(web::post().to(login_user::)) [INFO] [stdout] 40 | | ) [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/infrastructure/server/server.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 23 | let user_creator = Arc::new(UserCreatorService::new(user_repository.clone())); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let login = Arc::new(LoginService::new(user_repository.clone())); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let feature_creator = Arc::new(FeatureCreatorService::new(user_repository.clone())); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | / web::resource("/feature") [INFO] [stdout] 43 | | .app_data(web::Data::new(feature_creator.clone())) [INFO] [stdout] 44 | | .route(web::post().to(create_feature::)) [INFO] [stdout] 45 | | .wrap(Security{ min_role: "USER".to_string() }) [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/application/user/login_user.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 23 | let user_found = self.repository.find_by_email(email.to_string()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | Err(err) => return Err(err.into()), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | }; [INFO] [stdout] 29 | let credential_found = self.repository.find_credentials_by_user_id(user_id.clone()); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Err(err) => return Err(err.into()), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | }; [INFO] [stdout] 34 | let roles = self.repository.find_roles_by_user_id(user_id.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Err("Not found".into()) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flaggy` (bin "flaggy" test) due to 8 previous errors [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/infrastructure/server/middleware/logger.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | fn new_transform(&self, service: S) -> Self::Future { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | ok(LoggerMiddleware { [INFO] [stdout] | ____________^ [INFO] [stdout] 27 | | service: Rc::new(service), [INFO] [stdout] 28 | | }) [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/infrastructure/server/middleware/logger.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 50 | fn call(&self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | let fut = self.service.call(req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 60 | | let res = fut.await?; [INFO] [stdout] 61 | | let duration = start.elapsed(); [INFO] [stdout] 62 | | println!("{} {:?} ms", request, duration.as_millis()); [INFO] [stdout] 63 | | Ok(res) [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/infrastructure/server/middleware/security.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | fn new_transform(&self, service: S) -> Self::Future { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | ok(SecurityMiddleware { [INFO] [stdout] | ____________^ [INFO] [stdout] 29 | | service: Rc::new(service), [INFO] [stdout] 30 | | min_role: self.min_role.clone() [INFO] [stdout] 31 | | }) [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/infrastructure/server/middleware/security.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 54 | fn call(&self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | match TokenClaims::new(token) { [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/infrastructure/server/server.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 23 | let user_creator = Arc::new(UserCreatorService::new(user_repository.clone())); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let login = Arc::new(LoginService::new(user_repository.clone())); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let feature_creator = Arc::new(FeatureCreatorService::new(user_repository.clone())); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | / App::new() [INFO] [stdout] 29 | | .wrap(Logger) [INFO] [stdout] 30 | | .route("/health", web::get().to(health)) [INFO] [stdout] 31 | | .service( [INFO] [stdout] ... | [INFO] [stdout] 39 | | .route(web::post().to(login_user::)) [INFO] [stdout] 40 | | ) [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/infrastructure/server/server.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 23 | let user_creator = Arc::new(UserCreatorService::new(user_repository.clone())); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let login = Arc::new(LoginService::new(user_repository.clone())); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let feature_creator = Arc::new(FeatureCreatorService::new(user_repository.clone())); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | / web::resource("/feature") [INFO] [stdout] 43 | | .app_data(web::Data::new(feature_creator.clone())) [INFO] [stdout] 44 | | .route(web::post().to(create_feature::)) [INFO] [stdout] 45 | | .wrap(Security{ min_role: "USER".to_string() }) [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/application/user/login_user.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 23 | let user_found = self.repository.find_by_email(email.to_string()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | Err(err) => return Err(err.into()), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | }; [INFO] [stdout] 29 | let credential_found = self.repository.find_credentials_by_user_id(user_id.clone()); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Err(err) => return Err(err.into()), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | }; [INFO] [stdout] 34 | let roles = self.repository.find_roles_by_user_id(user_id.clone()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Err("Not found".into()) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flaggy` (bin "flaggy") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "c974973e6cee88ba923cb9c10f9d289dcde1d4f92226ab50c9e8e76eae4b1357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c974973e6cee88ba923cb9c10f9d289dcde1d4f92226ab50c9e8e76eae4b1357", kill_on_drop: false }` [INFO] [stdout] c974973e6cee88ba923cb9c10f9d289dcde1d4f92226ab50c9e8e76eae4b1357