[INFO] cloning repository https://github.com/aruns128/rust_poc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aruns128/rust_poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faruns128%2Frust_poc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faruns128%2Frust_poc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d198134fc0dcee5c1ad87d3793a445f0abbb85b4 [INFO] checking aruns128/rust_poc/d198134fc0dcee5c1ad87d3793a445f0abbb85b4 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%2Faruns128%2Frust_poc" "/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/aruns128/rust_poc 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/aruns128/rust_poc [INFO] finished tweaking git repo https://github.com/aruns128/rust_poc [INFO] tweaked toml for git repo https://github.com/aruns128/rust_poc written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aruns128/rust_poc 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] 940c219942ffd1254906459fcc852a442a337cd5956edc7fbf30bb6ad6d49bd1 [INFO] running `Command { std: "docker" "start" "-a" "940c219942ffd1254906459fcc852a442a337cd5956edc7fbf30bb6ad6d49bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "940c219942ffd1254906459fcc852a442a337cd5956edc7fbf30bb6ad6d49bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "940c219942ffd1254906459fcc852a442a337cd5956edc7fbf30bb6ad6d49bd1", kill_on_drop: false }` [INFO] [stdout] 940c219942ffd1254906459fcc852a442a337cd5956edc7fbf30bb6ad6d49bd1 [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] 6833a34b591e48ec5d1280333c03d455c63d195b13a439db10a106b9b6ec4ab8 [INFO] running `Command { std: "docker" "start" "-a" "6833a34b591e48ec5d1280333c03d455c63d195b13a439db10a106b9b6ec4ab8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling regex-lite v0.1.5 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling kafka v0.10.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking thread-id v4.2.1 [INFO] [stderr] Checking ref_slice v1.2.1 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking actix-http v3.7.0 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking redis v0.25.4 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking actix-web v4.6.0 [INFO] [stderr] Checking rust_poc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/redis_operations.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pub async fn set_value( [INFO] [stdout] 9 | | con: &mut redis::aio::MultiplexedConnection, [INFO] [stdout] 10 | | key: &str, [INFO] [stdout] 11 | | value: &str, [INFO] [stdout] 12 | | ) -> redis::RedisResult<()> { [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis/redis_operations.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | con.set(key, value).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/redis_operations.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub async fn delete_value( [INFO] [stdout] 35 | | con: &mut redis::aio::MultiplexedConnection, [INFO] [stdout] 36 | | key: &str, [INFO] [stdout] 37 | | ) -> redis::RedisResult<()> { [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis/redis_operations.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | con.del(key).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/redis_operations.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / pub async fn set_value( [INFO] [stdout] 9 | | con: &mut redis::aio::MultiplexedConnection, [INFO] [stdout] 10 | | key: &str, [INFO] [stdout] 11 | | value: &str, [INFO] [stdout] 12 | | ) -> redis::RedisResult<()> { [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis/redis_operations.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | con.set(key, value).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis/redis_operations.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / pub async fn delete_value( [INFO] [stdout] 35 | | con: &mut redis::aio::MultiplexedConnection, [INFO] [stdout] 36 | | key: &str, [INFO] [stdout] 37 | | ) -> redis::RedisResult<()> { [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis/redis_operations.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | con.del(key).await?; [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/rest_api/rest_api.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 66 | let app_state = web::Data::new(AppState { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | / App::new() [INFO] [stdout] 71 | | .app_data(app_state.clone()) [INFO] [stdout] 72 | | .route("/", web::get().to(index)) // Route for "/" [INFO] [stdout] 73 | | .route("/create", web::post().to(create)) // Route for "/create" [INFO] [stdout] 74 | | .route("/update", web::put().to(update)) // Route for "/update" [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/rest_api/rest_api.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 66 | let app_state = web::Data::new(AppState { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | .route("/delete/{id}", web::delete().to(delete)) // Route for "/delete" [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 `rust_poc` (bin "rust_poc" test) due to 3 previous errors; 2 warnings emitted [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/rest_api/rest_api.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 66 | let app_state = web::Data::new(AppState { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | / App::new() [INFO] [stdout] 71 | | .app_data(app_state.clone()) [INFO] [stdout] 72 | | .route("/", web::get().to(index)) // Route for "/" [INFO] [stdout] 73 | | .route("/create", web::post().to(create)) // Route for "/create" [INFO] [stdout] 74 | | .route("/update", web::put().to(update)) // Route for "/update" [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/rest_api/rest_api.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 66 | let app_state = web::Data::new(AppState { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | .route("/delete/{id}", web::delete().to(delete)) // Route for "/delete" [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 `rust_poc` (bin "rust_poc") due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6833a34b591e48ec5d1280333c03d455c63d195b13a439db10a106b9b6ec4ab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6833a34b591e48ec5d1280333c03d455c63d195b13a439db10a106b9b6ec4ab8", kill_on_drop: false }` [INFO] [stdout] 6833a34b591e48ec5d1280333c03d455c63d195b13a439db10a106b9b6ec4ab8