[INFO] fetching crate gluesql-core 0.16.2... [INFO] checking gluesql-core-0.16.2 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate gluesql-core 0.16.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate gluesql-core 0.16.2 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gluesql-core 0.16.2 [INFO] finished tweaking crates.io crate gluesql-core 0.16.2 [INFO] tweaked toml for crates.io crate gluesql-core 0.16.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 139 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding sqlparser v0.46.0 (available: v0.52.0) [INFO] [stderr] Adding strum_macros v0.25.3 (available: v0.26.4) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 598d4f589408bf7aebe2f1d13863318ae39f41e3f5f9b43a3d4f861c1c75aa92 [INFO] running `Command { std: "docker" "start" "-a" "598d4f589408bf7aebe2f1d13863318ae39f41e3f5f9b43a3d4f861c1c75aa92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "598d4f589408bf7aebe2f1d13863318ae39f41e3f5f9b43a3d4f861c1c75aa92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "598d4f589408bf7aebe2f1d13863318ae39f41e3f5f9b43a3d4f861c1c75aa92", kill_on_drop: false }` [INFO] [stdout] 598d4f589408bf7aebe2f1d13863318ae39f41e3f5f9b43a3d4f861c1c75aa92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfe081f3670fd3476af9d35c3bd0d255798cff04a34429a4360de06233c27852 [INFO] running `Command { std: "docker" "start" "-a" "dfe081f3670fd3476af9d35c3bd0d255798cff04a34429a4360de06233c27852", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling bigdecimal v0.4.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling derive_utils v0.14.2 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling futures-enum v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling iter-enum v1.1.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking gluesql-utils v0.16.2 [INFO] [stderr] Checking ordered-float v4.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking sqlparser v0.46.0 [INFO] [stderr] Checking gluesql-core v0.16.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/data/value/literal.rs (20 fixes) [INFO] [stderr] Fixed src/data/value/mod.rs (26 fixes) [INFO] [stderr] Fixed src/executor/evaluate/function.rs (1 fix) [INFO] [stderr] Fixed src/data/interval/string.rs (3 fixes) [INFO] [stderr] Fixed src/plan/evaluable.rs (1 fix) [INFO] [stderr] Fixed src/data/value/uuid.rs (1 fix) [INFO] [stderr] Fixed src/plan/join.rs (2 fixes) [INFO] [stderr] Fixed src/plan/expr/mod.rs (2 fixes) [INFO] [stderr] Fixed src/data/value/convert.rs (62 fixes) [INFO] [stderr] Fixed src/executor/fetch.rs (1 fix) [INFO] [stderr] Fixed src/executor/select/mod.rs (1 fix) [INFO] [stderr] Fixed src/data/interval/mod.rs (7 fixes) [INFO] [stderr] Fixed src/executor/evaluate/expr.rs (1 fix) [INFO] [stderr] Fixed src/translate/data_type.rs (3 fixes) [INFO] [stderr] Fixed src/data/point.rs (1 fix) [INFO] [stderr] Fixed src/executor/aggregate/mod.rs (1 fix) [INFO] [stderr] Fixed src/data/literal.rs (15 fixes) [INFO] [stdout] warning: `impl Stream, result::Error>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/executor/aggregate/mod.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | ) -> Result>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/executor/aggregate/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/executor/aggregate/mod.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | rows: impl Stream>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 55 ~ pub async fn apply>>>>( [INFO] [stdout] 56 | &self, [INFO] [stdout] 57 ~ rows: U, [INFO] [stdout] 58 ~ ) -> Result>> + use<'a, T, U>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream> + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/executor/limit.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | ) -> impl Stream> + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/executor/limit.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/executor/limit.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | rows: impl Stream> + 'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 36 ~ pub fn apply<'a, T: Stream> + 'a>( [INFO] [stdout] 37 | &self, [INFO] [stdout] 38 ~ rows: T, [INFO] [stdout] 39 ~ ) -> impl Stream> + 'a + use<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream> + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/executor/sort.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | ) -> Result> + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/executor/sort.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/executor/sort.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | rows: impl Stream< [INFO] [stdout] | _______________^ [INFO] [stdout] 48 | | Item = Result<( [INFO] [stdout] 49 | | Option>>, [INFO] [stdout] 50 | | Rc>, [INFO] [stdout] 51 | | Row, [INFO] [stdout] 52 | | )>, [INFO] [stdout] 53 | | > + 'a, [INFO] [stdout] | |__________________^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 45 ~ pub async fn apply>>, Rc>, Row)>> + 'a>( [INFO] [stdout] 46 | &self, [INFO] [stdout] 47 ~ rows: U, [INFO] [stdout] 48 | table_alias: &'a str, [INFO] [stdout] 49 ~ ) -> Result> + 'a + use<'a, T, U>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream, result::Error>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/executor/aggregate/mod.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | ) -> Result>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/executor/aggregate/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/executor/aggregate/mod.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | rows: impl Stream>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 55 ~ pub async fn apply>>>>( [INFO] [stdout] 56 | &self, [INFO] [stdout] 57 ~ rows: U, [INFO] [stdout] 58 ~ ) -> Result>> + use<'a, T, U>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream> + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/executor/limit.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | ) -> impl Stream> + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/executor/limit.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/executor/limit.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | rows: impl Stream> + 'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 36 ~ pub fn apply<'a, T: Stream> + 'a>( [INFO] [stdout] 37 | &self, [INFO] [stdout] 38 ~ rows: T, [INFO] [stdout] 39 ~ ) -> impl Stream> + 'a + use<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream> + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/executor/sort.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | ) -> Result> + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/executor/sort.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/executor/sort.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | rows: impl Stream< [INFO] [stdout] | _______________^ [INFO] [stdout] 48 | | Item = Result<( [INFO] [stdout] 49 | | Option>>, [INFO] [stdout] 50 | | Rc>, [INFO] [stdout] 51 | | Row, [INFO] [stdout] 52 | | )>, [INFO] [stdout] 53 | | > + 'a, [INFO] [stdout] | |__________________^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 45 ~ pub async fn apply>>, Rc>, Row)>> + 'a>( [INFO] [stdout] 46 | &self, [INFO] [stdout] 47 ~ rows: U, [INFO] [stdout] 48 | table_alias: &'a str, [INFO] [stdout] 49 ~ ) -> Result> + 'a + use<'a, T, U>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/executor/validate.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 139 | let unique_constraints: Vec<_> = create_unique_constraints(columns, row_iter)?.into(); [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | `unique_constraints` calls a custom destructor [INFO] [stdout] | `unique_constraints` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | / storage [INFO] [stdout] 146 | | .scan_data(table_name) [INFO] [stdout] 147 | | .await? [INFO] [stdout] | | ------ [INFO] [stdout] | | | | [INFO] [stdout] | |__________________|____this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 170 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#3` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `unique_constraints` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sized-chunks-0.6.5/src/sparse_chunk/mod.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | impl> Drop for SparseChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.84s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking gluesql-core v0.16.2 (/tmp/fixit) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `limit` [INFO] [stdout] --> src/executor/select/mod.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 130 | let rows = limit.apply(rows); [INFO] [stdout] | ----- `limit` is borrowed here [INFO] [stdout] 131 | [INFO] [stdout] 132 | return Ok((Some(labels), Row::Values(rows))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/executor/select/mod.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | let rows = limit.apply(rows); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/executor/limit.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | rows: impl Stream> + 'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> src/executor/limit.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 ~ pub fn apply<'a, T: Stream> + 'a>( [INFO] [stdout] 37 | &self, [INFO] [stdout] 38 ~ rows: T, [INFO] [stdout] 39 ~ ) -> impl Stream> + 'a + use<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `sort` [INFO] [stdout] --> src/executor/select/mod.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 202 | let rows = sort.apply(rows, get_alias(relation)).await?; [INFO] [stdout] | ---- `sort` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 206 | Ok((labels, Row::Select(rows))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/executor/select/mod.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 202 | let rows = sort.apply(rows, get_alias(relation)).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/executor/sort.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | rows: impl Stream< [INFO] [stdout] | _______________^ [INFO] [stdout] 48 | | Item = Result<( [INFO] [stdout] 49 | | Option>>, [INFO] [stdout] 50 | | Rc>, [INFO] [stdout] 51 | | Row, [INFO] [stdout] 52 | | )>, [INFO] [stdout] 53 | | > + 'a, [INFO] [stdout] | |__________________^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> src/executor/sort.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 ~ pub async fn apply>>, Rc>, Row)>> + 'a>( [INFO] [stdout] 46 | &self, [INFO] [stdout] 47 ~ rows: U, [INFO] [stdout] 48 | table_alias: &'a str, [INFO] [stdout] 49 ~ ) -> Result> + 'a + use<'a, T, U>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `aggregate` [INFO] [stdout] --> src/executor/select/mod.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 179 | let rows = aggregate.apply(rows).await?; [INFO] [stdout] | --------- `aggregate` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 206 | Ok((labels, Row::Select(rows))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/executor/select/mod.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | let rows = aggregate.apply(rows).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/executor/aggregate/mod.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | rows: impl Stream>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> src/executor/aggregate/mod.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 ~ pub async fn apply>>>>( [INFO] [stdout] 56 | &self, [INFO] [stdout] 57 ~ rows: U, [INFO] [stdout] 58 ~ ) -> Result>> + use<'a, T, U>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `limit` [INFO] [stdout] --> src/executor/select/mod.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 203 | let rows = limit.apply(rows); [INFO] [stdout] | ----- `limit` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 206 | Ok((labels, Row::Select(rows))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/executor/select/mod.rs:203:16 [INFO] [stdout] | [INFO] [stdout] 203 | let rows = limit.apply(rows); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/executor/limit.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | rows: impl Stream> + 'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> src/executor/limit.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 ~ pub fn apply<'a, T: Stream> + 'a>( [INFO] [stdout] 37 | &self, [INFO] [stdout] 38 ~ rows: T, [INFO] [stdout] 39 ~ ) -> impl Stream> + 'a + use<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `limit` [INFO] [stdout] --> src/executor/select/mod.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 130 | let rows = limit.apply(rows); [INFO] [stdout] | ----- `limit` is borrowed here [INFO] [stdout] 131 | [INFO] [stdout] 132 | return Ok((Some(labels), Row::Values(rows))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/executor/select/mod.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | let rows = limit.apply(rows); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/executor/limit.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | rows: impl Stream> + 'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> src/executor/limit.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 ~ pub fn apply<'a, T: Stream> + 'a>( [INFO] [stdout] 37 | &self, [INFO] [stdout] 38 ~ rows: T, [INFO] [stdout] 39 ~ ) -> impl Stream> + 'a + use<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `sort` [INFO] [stdout] --> src/executor/select/mod.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 202 | let rows = sort.apply(rows, get_alias(relation)).await?; [INFO] [stdout] | ---- `sort` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 206 | Ok((labels, Row::Select(rows))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/executor/select/mod.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 202 | let rows = sort.apply(rows, get_alias(relation)).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/executor/sort.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | rows: impl Stream< [INFO] [stdout] | _______________^ [INFO] [stdout] 48 | | Item = Result<( [INFO] [stdout] 49 | | Option>>, [INFO] [stdout] 50 | | Rc>, [INFO] [stdout] 51 | | Row, [INFO] [stdout] 52 | | )>, [INFO] [stdout] 53 | | > + 'a, [INFO] [stdout] | |__________________^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> src/executor/sort.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 ~ pub async fn apply>>, Rc>, Row)>> + 'a>( [INFO] [stdout] 46 | &self, [INFO] [stdout] 47 ~ rows: U, [INFO] [stdout] 48 | table_alias: &'a str, [INFO] [stdout] 49 ~ ) -> Result> + 'a + use<'a, T, U>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `aggregate` [INFO] [stdout] --> src/executor/select/mod.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 179 | let rows = aggregate.apply(rows).await?; [INFO] [stdout] | --------- `aggregate` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 206 | Ok((labels, Row::Select(rows))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/executor/select/mod.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | let rows = aggregate.apply(rows).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/executor/aggregate/mod.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | rows: impl Stream>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> src/executor/aggregate/mod.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 ~ pub async fn apply>>>>( [INFO] [stdout] 56 | &self, [INFO] [stdout] 57 ~ rows: U, [INFO] [stdout] 58 ~ ) -> Result>> + use<'a, T, U>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `limit` [INFO] [stdout] --> src/executor/select/mod.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 203 | let rows = limit.apply(rows); [INFO] [stdout] | ----- `limit` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 206 | Ok((labels, Row::Select(rows))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/executor/select/mod.rs:203:16 [INFO] [stdout] | [INFO] [stdout] 203 | let rows = limit.apply(rows); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/executor/limit.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | rows: impl Stream> + 'a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> src/executor/limit.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 ~ pub fn apply<'a, T: Stream> + 'a>( [INFO] [stdout] 37 | &self, [INFO] [stdout] 38 ~ rows: T, [INFO] [stdout] 39 ~ ) -> impl Stream> + 'a + use<'a, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gluesql-core` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gluesql-core` (lib test) due to 4 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "dfe081f3670fd3476af9d35c3bd0d255798cff04a34429a4360de06233c27852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfe081f3670fd3476af9d35c3bd0d255798cff04a34429a4360de06233c27852", kill_on_drop: false }` [INFO] [stdout] dfe081f3670fd3476af9d35c3bd0d255798cff04a34429a4360de06233c27852