[INFO] fetching crate ripgrep_all 0.10.6... [INFO] checking ripgrep_all-0.10.6 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate ripgrep_all 0.10.6 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate ripgrep_all 0.10.6 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] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate ripgrep_all 0.10.6 [INFO] finished tweaking crates.io crate ripgrep_all 0.10.6 [INFO] tweaked toml for crates.io crate ripgrep_all 0.10.6 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate ripgrep_all 0.10.6 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3f09590de854381c76e6726453a2190391bc8400b9c724051adb9215902419ec [INFO] running `Command { std: "docker" "start" "-a" "3f09590de854381c76e6726453a2190391bc8400b9c724051adb9215902419ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f09590de854381c76e6726453a2190391bc8400b9c724051adb9215902419ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f09590de854381c76e6726453a2190391bc8400b9c724051adb9215902419ec", kill_on_drop: false }` [INFO] [stdout] 3f09590de854381c76e6726453a2190391bc8400b9c724051adb9215902419ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4a040400d60589d6f23351293ac6fbc8dc630e111430fec7f1818eb394f2f905 [INFO] running `Command { std: "docker" "start" "-a" "4a040400d60589d6f23351293ac6fbc8dc630e111430fec7f1818eb394f2f905", 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 libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking smallvec v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking anstream v0.6.7 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking dyn-clone v1.0.16 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Checking clap_builder v4.4.17 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling dyn-clonable-impl v0.9.0 [INFO] [stderr] Checking charset v0.1.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking quoted_printable v0.4.8 [INFO] [stderr] Checking deflate64 v0.1.6 [INFO] [stderr] Checking bytecount v0.6.7 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking tokio-tar v0.3.1 [INFO] [stderr] Checking tree_magic_mini v3.0.3 [INFO] [stderr] Checking mailparse v0.14.0 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Checking pretty-bytes v0.2.2 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking size_format v1.0.2 [INFO] [stderr] Checking dyn-clonable v0.9.0 [INFO] [stderr] Checking clap v4.4.17 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking rusqlite v0.30.0 [INFO] [stderr] Checking path-clean v1.0.1 [INFO] [stderr] Checking json_comments v0.2.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking mime2ext v0.1.52 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking tokio-test v0.4.3 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling ctor v0.2.6 [INFO] [stderr] Checking tokio-rusqlite v0.5.0 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Checking async-compression v0.4.5 [INFO] [stderr] Checking async-compression v0.3.15 [INFO] [stderr] Checking async_zip v0.0.12 [INFO] [stderr] Checking ripgrep_all v0.10.6 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/config.rs (1 fix) [INFO] [stderr] Fixed src/adapters/writing.rs (5 fixes) [INFO] [stderr] Fixed src/adapters.rs (2 fixes) [INFO] [stderr] Fixed src/preproc_cache.rs (1 fix) [INFO] [stderr] Fixed src/caching_writer.rs (2 fixes) [INFO] [stderr] Fixed src/matching.rs (1 fix) [INFO] [stdout] warning: `impl tokio::io::AsyncRead + Send` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/adapters/postproc.rs:132:74 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn postproc_prefix(line_prefix: &str, inp: impl AsyncRead + Send) -> impl AsyncRead + Send { [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/adapters/postproc.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn postproc_prefix(line_prefix: &str, inp: impl AsyncRead + Send) -> impl AsyncRead + Send { [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/adapters/postproc.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn postproc_prefix(line_prefix: &str, inp: impl AsyncRead + Send) -> impl AsyncRead + Send { [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] 132 | pub fn postproc_prefix(line_prefix: &str, inp: T) -> impl AsyncRead + Send + use { [INFO] [stdout] | +++++++++++++++++++++ ~ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/adapters/tar.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 68 | let s = stream! { [INFO] [stdout] | _________________- [INFO] [stdout] 69 | | while let Some(entry) = entries.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 `#4` [INFO] [stdout] | | | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | `entry` calls a custom destructor [INFO] [stdout] | | `entry` will be dropped later as of Edition 2024 [INFO] [stdout] 70 | | let file = entry?; [INFO] [stdout] | | ---- [INFO] [stdout] | | | [INFO] [stdout] | | `file` calls a custom destructor [INFO] [stdout] | | `file` will be dropped later as of Edition 2024 [INFO] [stdout] 71 | | if tokio_tar::EntryType::Regular == file.header().entry_type() { [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] | | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] 92 | | }; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `__awaitee` calls a custom destructor [INFO] [stdout] | | `__awaitee` 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] | | `#2` 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] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#4` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `entry` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `file` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.79/src/error.rs:600:1 [INFO] [stdout] | [INFO] [stdout] 600 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `__awaitee` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.79/src/error.rs:600:1 [INFO] [stdout] | [INFO] [stdout] 600 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.79/src/error.rs:600:1 [INFO] [stdout] | [INFO] [stdout] 600 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#3` may invoke a custom destructor because it contains a trait object [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/caching_writer.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 33 | let s = stream! { [INFO] [stdout] | _____________- [INFO] [stdout] 34 | | let mut stream = ReaderStream::new(inp); [INFO] [stdout] 35 | | while let Some(bytes) = 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 `#4` [INFO] [stdout] | | | up until Edition 2021 `#4` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | `bytes` calls a custom destructor [INFO] [stdout] | | `bytes` will be dropped later as of Edition 2024 [INFO] [stdout] 36 | | trace!("read bytes: {:?}", bytes); [INFO] [stdout] ... | [INFO] [stdout] 46 | | zstd_writer.take(); [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] 51 | | } [INFO] [stdout] | | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] ... | [INFO] [stdout] 74 | | [INFO] [stdout] 75 | | }; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | `__awaitee` calls a custom destructor [INFO] [stdout] | | `__awaitee` 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] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `bytes` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/zstd-safe-7.0.0/src/lib.rs:811:1 [INFO] [stdout] | [INFO] [stdout] 811 | impl<'a> Drop for CCtx<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.5.0/src/bytes.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | impl Drop for Bytes { [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: `impl tokio::io::AsyncRead + Send` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/adapters/postproc.rs:132:74 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn postproc_prefix(line_prefix: &str, inp: impl AsyncRead + Send) -> impl AsyncRead + Send { [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/adapters/postproc.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn postproc_prefix(line_prefix: &str, inp: impl AsyncRead + Send) -> impl AsyncRead + Send { [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/adapters/postproc.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn postproc_prefix(line_prefix: &str, inp: impl AsyncRead + Send) -> impl AsyncRead + Send { [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] 132 | pub fn postproc_prefix(line_prefix: &str, inp: T) -> impl AsyncRead + Send + use { [INFO] [stdout] | +++++++++++++++++++++ ~ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/rga-fzf-open.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/rga.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bin/rga.rs (2 fixes) [INFO] [stderr] Migrating src/bin/rga-preproc.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/bin/rga-fzf.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.75s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ripgrep_all v0.10.6 (/tmp/fixit) [INFO] [stdout] error[E0597]: `a.line_prefix` does not live long enough [INFO] [stdout] --> src/adapters/postproc.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 52 | a: super::AdaptInfo, [INFO] [stdout] | - binding `a` declared here [INFO] [stdout] ... [INFO] [stdout] 56 | &a.line_prefix, [INFO] [stdout] | ^^^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 61 | inp: Box::pin(read), [INFO] [stdout] | -------------- coercion requires that `a.line_prefix` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 66 | } [INFO] [stdout] | - `a.line_prefix` dropped here while still borrowed [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/adapters/postproc.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | let read = add_newline(postproc_prefix( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 56 | | &a.line_prefix, [INFO] [stdout] 57 | | postproc_encoding(&a.line_prefix, a.inp).await?, [INFO] [stdout] 58 | | )); [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/adapters/postproc.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn postproc_prefix(line_prefix: &str, inp: impl AsyncRead + Send) -> impl AsyncRead + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 132 | pub fn postproc_prefix(line_prefix: &str, inp: T) -> impl AsyncRead + Send + use { [INFO] [stdout] | +++++++++++++++++++++ ~ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `a.line_prefix` because it is borrowed [INFO] [stdout] --> src/adapters/postproc.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 52 | a: super::AdaptInfo, [INFO] [stdout] | - binding `a` declared here [INFO] [stdout] ... [INFO] [stdout] 56 | &a.line_prefix, [INFO] [stdout] | -------------- borrow of `a.line_prefix` occurs here [INFO] [stdout] ... [INFO] [stdout] 60 | let ai = AdaptInfo { [INFO] [stdout] | __________________^ [INFO] [stdout] 61 | | inp: Box::pin(read), [INFO] [stdout] | | -------------- coercion requires that `a.line_prefix` is borrowed for `'static` [INFO] [stdout] 62 | | postprocess: false, [INFO] [stdout] 63 | | ..a [INFO] [stdout] 64 | | }; [INFO] [stdout] | |_________^ move out of `a.line_prefix` occurs here [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/adapters/postproc.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | let read = add_newline(postproc_prefix( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 56 | | &a.line_prefix, [INFO] [stdout] 57 | | postproc_encoding(&a.line_prefix, a.inp).await?, [INFO] [stdout] 58 | | )); [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/adapters/postproc.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn postproc_prefix(line_prefix: &str, inp: impl AsyncRead + Send) -> impl AsyncRead + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 132 | pub fn postproc_prefix(line_prefix: &str, inp: T) -> impl AsyncRead + Send + use { [INFO] [stdout] | +++++++++++++++++++++ ~ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `a.line_prefix` does not live long enough [INFO] [stdout] --> src/adapters/postproc.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 52 | a: super::AdaptInfo, [INFO] [stdout] | - binding `a` declared here [INFO] [stdout] ... [INFO] [stdout] 56 | &a.line_prefix, [INFO] [stdout] | ^^^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 61 | inp: Box::pin(read), [INFO] [stdout] | -------------- coercion requires that `a.line_prefix` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 66 | } [INFO] [stdout] | - `a.line_prefix` dropped here while still borrowed [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/adapters/postproc.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | let read = add_newline(postproc_prefix( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 56 | | &a.line_prefix, [INFO] [stdout] 57 | | postproc_encoding(&a.line_prefix, a.inp).await?, [INFO] [stdout] 58 | | )); [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/adapters/postproc.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn postproc_prefix(line_prefix: &str, inp: impl AsyncRead + Send) -> impl AsyncRead + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 132 | pub fn postproc_prefix(line_prefix: &str, inp: T) -> impl AsyncRead + Send + use { [INFO] [stdout] | +++++++++++++++++++++ ~ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `a.line_prefix` because it is borrowed [INFO] [stdout] --> src/adapters/postproc.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 52 | a: super::AdaptInfo, [INFO] [stdout] | - binding `a` declared here [INFO] [stdout] ... [INFO] [stdout] 56 | &a.line_prefix, [INFO] [stdout] | -------------- borrow of `a.line_prefix` occurs here [INFO] [stdout] ... [INFO] [stdout] 60 | let ai = AdaptInfo { [INFO] [stdout] | __________________^ [INFO] [stdout] 61 | | inp: Box::pin(read), [INFO] [stdout] | | -------------- coercion requires that `a.line_prefix` is borrowed for `'static` [INFO] [stdout] 62 | | postprocess: false, [INFO] [stdout] 63 | | ..a [INFO] [stdout] 64 | | }; [INFO] [stdout] | |_________^ move out of `a.line_prefix` occurs here [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/adapters/postproc.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | let read = add_newline(postproc_prefix( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 56 | | &a.line_prefix, [INFO] [stdout] 57 | | postproc_encoding(&a.line_prefix, a.inp).await?, [INFO] [stdout] 58 | | )); [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/adapters/postproc.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn postproc_prefix(line_prefix: &str, inp: impl AsyncRead + Send) -> impl AsyncRead + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 132 | pub fn postproc_prefix(line_prefix: &str, inp: T) -> impl AsyncRead + Send + use { [INFO] [stdout] | +++++++++++++++++++++ ~ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ripgrep_all` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ripgrep_all` (lib test) due to 2 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" "4a040400d60589d6f23351293ac6fbc8dc630e111430fec7f1818eb394f2f905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a040400d60589d6f23351293ac6fbc8dc630e111430fec7f1818eb394f2f905", kill_on_drop: false }` [INFO] [stdout] 4a040400d60589d6f23351293ac6fbc8dc630e111430fec7f1818eb394f2f905