[INFO] fetching crate klickhouse 0.13.2... [INFO] checking klickhouse-0.13.2 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate klickhouse 0.13.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate klickhouse 0.13.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 klickhouse 0.13.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate klickhouse 0.13.2 [INFO] tweaked toml for crates.io crate klickhouse 0.13.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate klickhouse 0.13.2 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" "+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] 4c8493ac33f8f39461cef6f133952c247d916a777f995c3c0848b54873c3697b [INFO] running `Command { std: "docker" "start" "-a" "4c8493ac33f8f39461cef6f133952c247d916a777f995c3c0848b54873c3697b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c8493ac33f8f39461cef6f133952c247d916a777f995c3c0848b54873c3697b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c8493ac33f8f39461cef6f133952c247d916a777f995c3c0848b54873c3697b", kill_on_drop: false }` [INFO] [stdout] 4c8493ac33f8f39461cef6f133952c247d916a777f995c3c0848b54873c3697b [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] 20b665eac5c233d85bbc7da1c6aa73bb698c58b871926b6928c9165eccc6875a [INFO] running `Command { std: "docker" "start" "-a" "20b665eac5c233d85bbc7da1c6aa73bb698c58b871926b6928c9165eccc6875a", 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 proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling lz4-sys v1.9.4 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking cityhash-rs v1.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling klickhouse v0.13.2 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling compiler-tools-derive v0.2.0 [INFO] [stderr] Compiling klickhouse_derive v0.13.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking compiler-tools v0.2.0 [INFO] [stderr] Checking lz4 v1.24.0 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/compression.rs (1 fix) [INFO] [stderr] Fixed src/convert/std_deserialize.rs (1 fix) [INFO] [stderr] Fixed src/convert/std_serialize.rs (1 fix) [INFO] [stderr] Fixed src/lock.rs (2 fixes) [INFO] [stderr] Fixed src/client.rs (7 fixes) [INFO] [stdout] warning: `impl Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/client.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 316 | ) -> 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/client.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | &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/client.rs:315:16 [INFO] [stdout] | [INFO] [stdout] 315 | query: impl TryInto, [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] 313 ~ pub async fn query_raw>( [INFO] [stdout] 314 | &self, [INFO] [stdout] 315 ~ query: T, [INFO] [stdout] 316 ~ ) -> Result> + use> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/client.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | ) -> 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/client.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | &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/client.rs:357:16 [INFO] [stdout] | [INFO] [stdout] 357 | query: impl TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 358 | mut blocks: impl Stream + Send + Sync + Unpin + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 355 ~ pub async fn insert_native_raw, U: Stream + Send + Sync + Unpin + 'static>( [INFO] [stdout] 356 | &self, [INFO] [stdout] 357 ~ query: T, [INFO] [stdout] 358 ~ mut blocks: U, [INFO] [stdout] 359 ~ ) -> Result> + use> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/client.rs:476:17 [INFO] [stdout] | [INFO] [stdout] 476 | ) -> 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/client.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | &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/client.rs:475:16 [INFO] [stdout] | [INFO] [stdout] 475 | query: impl TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 473 ~ pub async fn query>( [INFO] [stdout] 474 | &self, [INFO] [stdout] 475 ~ query: U, [INFO] [stdout] 476 ~ ) -> Result> + use> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/client.rs:374:33 [INFO] [stdout] | [INFO] [stdout] 374 | while let Some(block) = blocks.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [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] 375 | self.send_data(block).await?; [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 376 | } [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: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hashbrown-0.14.3/src/raw/mod.rs:3684:1 [INFO] [stdout] | [INFO] [stdout] 3684 | impl Drop for RawTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hashbrown-0.14.3/src/raw/mod.rs:3684:1 [INFO] [stdout] | [INFO] [stdout] 3684 | impl Drop for RawTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/sync/oneshot.rs:1072:1 [INFO] [stdout] | [INFO] [stdout] 1072 | impl Drop for Receiver { [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] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/client.rs:412:32 [INFO] [stdout] | [INFO] [stdout] 412 | while let Some(rows) = blocks.next().await { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^----- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | | `#1` will be dropped later as of 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] | `rows` calls a custom destructor [INFO] [stdout] | `rows` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 416 | let mut block = Block { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `block` calls a custom destructor [INFO] [stdout] | `block` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 422 | / rows.into_iter() [INFO] [stdout] 423 | | .map(|x| x.serialize_row(&first_block.column_types)) [INFO] [stdout] 424 | | .filter_map(|x| match x { [INFO] [stdout] 425 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 429 | | Ok(x) => Some(x), [INFO] [stdout] 430 | | }) [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__________________this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 447 | self.send_data(block).await?; [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 448 | } [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: `block` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hashbrown-0.14.3/src/raw/mod.rs:3684:1 [INFO] [stdout] | [INFO] [stdout] 3684 | impl Drop for RawTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/sync/oneshot.rs:1072:1 [INFO] [stdout] | [INFO] [stdout] 1072 | impl Drop for Receiver { [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] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/client.rs:497:32 [INFO] [stdout] | [INFO] [stdout] 497 | while let Some(next) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of 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] 498 | out.push(next?); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] 499 | } [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: 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] [INFO] [stdout] [INFO] [stderr] Migrating examples/basic.rs from 2021 edition to 2024 [INFO] [stdout] warning: `impl Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/client.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 316 | ) -> 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/client.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | &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/client.rs:315:16 [INFO] [stdout] | [INFO] [stdout] 315 | query: impl TryInto, [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] 313 ~ pub async fn query_raw>( [INFO] [stdout] 314 | &self, [INFO] [stdout] 315 ~ query: T, [INFO] [stdout] 316 ~ ) -> Result> + use> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/client.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | ) -> 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/client.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | &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/client.rs:357:16 [INFO] [stdout] | [INFO] [stdout] 357 | query: impl TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 358 | mut blocks: impl Stream + Send + Sync + Unpin + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 355 ~ pub async fn insert_native_raw, U: Stream + Send + Sync + Unpin + 'static>( [INFO] [stdout] 356 | &self, [INFO] [stdout] 357 ~ query: T, [INFO] [stdout] 358 ~ mut blocks: U, [INFO] [stdout] 359 ~ ) -> Result> + use> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/client.rs:476:17 [INFO] [stdout] | [INFO] [stdout] 476 | ) -> 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/client.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | &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/client.rs:475:16 [INFO] [stdout] | [INFO] [stdout] 475 | query: impl TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 473 ~ pub async fn query>( [INFO] [stdout] 474 | &self, [INFO] [stdout] 475 ~ query: U, [INFO] [stdout] 476 ~ ) -> Result> + use> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.67s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling klickhouse v0.13.2 (/tmp/fixit) [INFO] [stdout] error[E0505]: cannot move out of `client` because it is borrowed [INFO] [stdout] --> examples/basic.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 17 | let client = Client::connect("127.0.0.1:9000", ClientOptions::default()) [INFO] [stdout] | ------ binding `client` declared here [INFO] [stdout] ... [INFO] [stdout] 74 | let mut all_rows = client [INFO] [stdout] | ------ borrow of `client` occurs here [INFO] [stdout] ... [INFO] [stdout] 85 | drop(client); [INFO] [stdout] | ^^^^^^ move out of `client` occurs here [INFO] [stdout] 86 | progress_task.await.unwrap(); [INFO] [stdout] 87 | } [INFO] [stdout] | - borrow might be used here, when `all_rows` is dropped and runs the destructor for type `impl Stream>` [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] --> examples/basic.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | let mut all_rows = client [INFO] [stdout] | ________________________^ [INFO] [stdout] 75 | | .query::("SELECT * FROM klickhouse_example;") [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] help: if you can modify this crate, add a precise capturing bound to avoid overcapturing: `+ use` [INFO] [stdout] --> /tmp/fixit/src/client.rs:476:17 [INFO] [stdout] | [INFO] [stdout] 476 | ) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 74 | let mut all_rows = client.clone() [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `klickhouse` (example "basic") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "20b665eac5c233d85bbc7da1c6aa73bb698c58b871926b6928c9165eccc6875a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20b665eac5c233d85bbc7da1c6aa73bb698c58b871926b6928c9165eccc6875a", kill_on_drop: false }` [INFO] [stdout] 20b665eac5c233d85bbc7da1c6aa73bb698c58b871926b6928c9165eccc6875a