[INFO] fetching crate rego 0.1.1... [INFO] checking rego-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rego 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rego 0.1.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 rego 0.1.1 [INFO] finished tweaking crates.io crate rego 0.1.1 [INFO] tweaked toml for crates.io crate rego 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 204 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.9.3 (latest: v0.22.1) [INFO] [stderr] Adding base64 v0.12.3 (latest: v0.22.1) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding block-buffer v0.7.3 (latest: v0.10.4) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding block-padding v0.1.5 (latest: v0.3.3) [INFO] [stderr] Adding bytes v0.5.6 (latest: v1.7.1) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding crypto-mac v0.7.0 (latest: v0.11.1) [INFO] [stderr] Adding diesel v1.4.8 (latest: v2.2.3) [INFO] [stderr] Adding diesel_derives v1.4.1 (latest: v2.2.3) [INFO] [stderr] Adding digest v0.8.1 (latest: v0.10.7) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding dtoa v0.4.8 (latest: v1.0.9) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.1.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding h2 v0.2.7 (latest: v0.4.6) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding headers v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding headers-core v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding hmac v0.7.1 (latest: v0.12.1) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.3.1 (latest: v1.0.1) [INFO] [stderr] Adding httpdate v0.3.2 (latest: v1.0.3) [INFO] [stderr] Adding hyper v0.13.10 (latest: v1.4.1) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding input_buffer v0.3.1 (latest: v0.5.0) [INFO] [stderr] Adding itoa v0.4.8 (latest: v1.0.11) [INFO] [stderr] Adding jsonwebtoken v7.2.0 (latest: v9.3.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding mio v0.6.23 (latest: v1.0.2) [INFO] [stderr] Adding miow v0.2.2 (latest: v0.6.0) [INFO] [stderr] Adding multipart v0.17.1 (latest: v0.18.0) [INFO] [stderr] Adding num-bigint v0.2.6 (latest: v0.4.6) [INFO] [stderr] Adding opaque-debug v0.2.3 (latest: v0.3.1) [INFO] [stderr] Adding pbkdf2 v0.3.0 (latest: v0.12.2) [INFO] [stderr] Adding pem v0.8.3 (latest: v3.0.4) [INFO] [stderr] Adding pin-project v0.4.30 (latest: v1.1.5) [INFO] [stderr] Adding pin-project-internal v0.4.30 (latest: v1.1.5) [INFO] [stderr] Adding pin-project-lite v0.1.12 (latest: v0.2.14) [INFO] [stderr] Adding pq-sys v0.4.8 (latest: v0.6.1) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding rand v0.5.6 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding ring v0.16.20 (latest: v0.17.8) [INFO] [stderr] Adding serde_urlencoded v0.6.1 (latest: v0.7.1) [INFO] [stderr] Adding sha-1 v0.9.8 (latest: v0.10.1) [INFO] [stderr] Adding sha2 v0.8.2 (latest: v0.10.8) [INFO] [stderr] Adding simple_asn1 v0.4.1 (latest: v0.6.2) [INFO] [stderr] Adding socket2 v0.3.19 (latest: v0.5.7) [INFO] [stderr] Adding spin v0.5.2 (latest: v0.9.8) [INFO] [stderr] Adding subtle v1.0.0 (latest: v2.6.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding tokio v0.2.25 (latest: v1.40.0) [INFO] [stderr] Adding tokio-tungstenite v0.11.0 (latest: v0.23.1) [INFO] [stderr] Adding tokio-util v0.3.1 (latest: v0.7.11) [INFO] [stderr] Adding tungstenite v0.11.1 (latest: v0.24.0) [INFO] [stderr] Adding twoway v0.1.8 (latest: v0.2.2) [INFO] [stderr] Adding untrusted v0.7.1 (latest: v0.9.0) [INFO] [stderr] Adding urlencoding v1.3.3 (latest: v2.1.3) [INFO] [stderr] Adding warp v0.2.5 (latest: v0.3.7) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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-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] 688cdc2e9cacff98a2f3fc1d5dd66ba45ee46ec4c929faaf4e5d71f406030677 [INFO] running `Command { std: "docker" "start" "-a" "688cdc2e9cacff98a2f3fc1d5dd66ba45ee46ec4c929faaf4e5d71f406030677", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "688cdc2e9cacff98a2f3fc1d5dd66ba45ee46ec4c929faaf4e5d71f406030677", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "688cdc2e9cacff98a2f3fc1d5dd66ba45ee46ec4c929faaf4e5d71f406030677", kill_on_drop: false }` [INFO] [stdout] 688cdc2e9cacff98a2f3fc1d5dd66ba45ee46ec4c929faaf4e5d71f406030677 [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] 9ccb8dff2b234d29c92505aa65fa414e3b6af967cc9e766b51c69a18cc621a89 [INFO] running `Command { std: "docker" "start" "-a" "9ccb8dff2b234d29c92505aa65fa414e3b6af967cc9e766b51c69a18cc621a89", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking urlencoding v1.3.3 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking pin-project v0.4.30 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking tokio-tungstenite v0.11.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking warp v0.2.5 [INFO] [stderr] Checking rego v0.1.1 (/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/app/warp/auth.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | jwt_encoder: JwtEncoder, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | ) -> impl Filter + Clone { [INFO] [stdout] 10 | / (header::("Authorization") [INFO] [stdout] 11 | | .or(header::("authorization")) [INFO] [stdout] 12 | | .unify()) [INFO] [stdout] 13 | | .and_then( [INFO] [stdout] ... | [INFO] [stdout] 17 | | }, [INFO] [stdout] 18 | | ) [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/app/warp/auth.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 8 | jwt_encoder: JwtEncoder, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | move |BearerToken(token)| match jwt_encoder.decode(token.as_str()) { [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/app/warp/auth.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | .or_else(|_| future::err(Into::::into(Error::unauthorized()))) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/domain/jwt.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 29 | let raw_val = RawValue::from_string(serialized_body).map_err(Error::internal)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | [INFO] [stdout] 31 | Ok(WebToken { [INFO] [stdout] | ____________^ [INFO] [stdout] 32 | | body: raw_val, [INFO] [stdout] 33 | | body_type: std::any::type_name::().to_string(), [INFO] [stdout] 34 | | exp, [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] | |_________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/err.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn internal(e: E) -> Self [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Error::Internal(Arc::new(anyhow::Error::from(e))) [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/infra/postgres.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(url: impl Into) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let manager = ConnectionManager::::new(url); [INFO] [stdout] 19 | let pool = Pool::new(manager)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Ok(Postgres { pool }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/infra/postgres.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 24 | url: impl Into, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | build_func: impl FnOnce(Builder) -> Builder, [INFO] [stdout] | ------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let pool = build_func(Pool::builder()).build(manager)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Ok(Postgres { pool }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/infra/postgres.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 64 | fn from(e: diesel::result::Error) -> InnerError { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | InnerError(Error::internal(e)) [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/infra/postgres.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn transaction(&self, func: F) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | self.try_with_conn(|conn| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | conn.transaction::(|| func(&conn).map_err(InnerError)) [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/infra/postgres.rs:70:53 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn transaction(&self, func: F) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | conn.transaction::(|| func(&conn).map_err(InnerError)) [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 10 previous errors [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/app/warp/auth.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | jwt_encoder: JwtEncoder, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9 | ) -> impl Filter + Clone { [INFO] [stdout] 10 | / (header::("Authorization") [INFO] [stdout] 11 | | .or(header::("authorization")) [INFO] [stdout] 12 | | .unify()) [INFO] [stdout] 13 | | .and_then( [INFO] [stdout] ... | [INFO] [stdout] 17 | | }, [INFO] [stdout] 18 | | ) [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/app/warp/auth.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 8 | jwt_encoder: JwtEncoder, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | move |BearerToken(token)| match jwt_encoder.decode(token.as_str()) { [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/app/warp/auth.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | .or_else(|_| future::err(Into::::into(Error::unauthorized()))) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/domain/jwt.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 29 | let raw_val = RawValue::from_string(serialized_body).map_err(Error::internal)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | [INFO] [stdout] 31 | Ok(WebToken { [INFO] [stdout] | ____________^ [INFO] [stdout] 32 | | body: raw_val, [INFO] [stdout] 33 | | body_type: std::any::type_name::().to_string(), [INFO] [stdout] 34 | | exp, [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] | |_________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/err.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn internal(e: E) -> Self [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Error::Internal(Arc::new(anyhow::Error::from(e))) [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/infra/postgres.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(url: impl Into) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let manager = ConnectionManager::::new(url); [INFO] [stdout] 19 | let pool = Pool::new(manager)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Ok(Postgres { pool }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/infra/postgres.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 24 | url: impl Into, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | build_func: impl FnOnce(Builder) -> Builder, [INFO] [stdout] | ------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let pool = build_func(Pool::builder()).build(manager)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Ok(Postgres { pool }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/infra/postgres.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 64 | fn from(e: diesel::result::Error) -> InnerError { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | InnerError(Error::internal(e)) [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/infra/postgres.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn transaction(&self, func: F) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | self.try_with_conn(|conn| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | conn.transaction::(|| func(&conn).map_err(InnerError)) [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/infra/postgres.rs:70:53 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn transaction(&self, func: F) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | conn.transaction::(|| func(&conn).map_err(InnerError)) [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 `rego` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rego` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "9ccb8dff2b234d29c92505aa65fa414e3b6af967cc9e766b51c69a18cc621a89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ccb8dff2b234d29c92505aa65fa414e3b6af967cc9e766b51c69a18cc621a89", kill_on_drop: false }` [INFO] [stdout] 9ccb8dff2b234d29c92505aa65fa414e3b6af967cc9e766b51c69a18cc621a89