[INFO] fetching crate analyse-json 0.6.1... [INFO] checking analyse-json-0.6.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate analyse-json 0.6.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate analyse-json 0.6.1 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate analyse-json 0.6.1 [INFO] finished tweaking crates.io crate analyse-json 0.6.1 [INFO] tweaked toml for crates.io crate analyse-json 0.6.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate analyse-json 0.6.1 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df0a4be055fcc12b077002c49fd89ea77586caceb379b7814714af1a753cee32 [INFO] running `Command { std: "docker" "start" "-a" "df0a4be055fcc12b077002c49fd89ea77586caceb379b7814714af1a753cee32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df0a4be055fcc12b077002c49fd89ea77586caceb379b7814714af1a753cee32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df0a4be055fcc12b077002c49fd89ea77586caceb379b7814714af1a753cee32", kill_on_drop: false }` [INFO] [stdout] df0a4be055fcc12b077002c49fd89ea77586caceb379b7814714af1a753cee32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 791c0b2cf50d7c900a9a947386db1f2a9e6397dfcf6cbfbe18118100f3bb955b [INFO] running `Command { std: "docker" "start" "-a" "791c0b2cf50d7c900a9a947386db1f2a9e6397dfcf6cbfbe18118100f3bb955b", 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.76 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking inventory v0.3.14 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking is_ci v1.1.1 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking supports-color v2.1.0 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking bstr v1.9.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling serde_json_path_macros_internal v0.1.0 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking grep-cli v0.1.10 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking clap_complete v4.4.8 [INFO] [stderr] Checking serde_json_path_core v0.1.3 [INFO] [stderr] Checking serde_json_path_macros v0.1.1 [INFO] [stderr] Checking serde_json_path v0.6.4 [INFO] [stderr] Checking analyse-json v0.6.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/json/ndjson.rs (3 fixes) [INFO] [stdout] warning: method `to_channel_receiver` is never used [INFO] [stdout] --> src/io_helpers/stdin.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait ToChannelReceiver { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] 8 | fn to_channel_receiver(self, bound: usize) -> Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl rayon::iter::ParallelIterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/json/ndjson.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 129 | ) -> impl ParallelIterator + '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/json/ndjson.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | args: &Cli, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl rayon::iter::ParallelIterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/json/ndjson.rs:244:6 [INFO] [stdout] | [INFO] [stdout] 244 | ) -> impl ParallelIterator + '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/json/ndjson.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | errors: &NDJSONErrorsPar, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl rayon::iter::ParallelIterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/json/ndjson.rs:291:6 [INFO] [stdout] | [INFO] [stdout] 291 | ) -> impl ParallelIterator + '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/json/ndjson.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | errors: &NDJSONErrorsPar, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_channel_receiver` is never used [INFO] [stdout] --> src/io_helpers/stdin.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait ToChannelReceiver { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] 8 | fn to_channel_receiver(self, bound: usize) -> Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl ParallelIterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/json/ndjson.rs:129:6 [INFO] [stdout] | [INFO] [stdout] 129 | ) -> impl ParallelIterator + '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/json/ndjson.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | args: &Cli, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl ParallelIterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/json/ndjson.rs:244:6 [INFO] [stdout] | [INFO] [stdout] 244 | ) -> impl ParallelIterator + '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/json/ndjson.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | errors: &NDJSONErrorsPar, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl ParallelIterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/json/ndjson.rs:291:6 [INFO] [stdout] | [INFO] [stdout] 291 | ) -> impl ParallelIterator + '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/json/ndjson.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | errors: &NDJSONErrorsPar, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.43s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking analyse-json v0.6.1 (/tmp/fixit) [INFO] [stdout] error[E0700]: hidden type for `impl ParallelIterator + 'a` captures lifetime that does not appear in bounds [INFO] [stdout] --> src/json/ndjson.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 78 | args: &Cli, [INFO] [stdout] | ---- hidden type `impl ParallelIterator + 'a` captures the anonymous lifetime defined here [INFO] [stdout] ... [INFO] [stdout] 81 | ) -> impl ParallelIterator + 'a + use<'a> { [INFO] [stdout] | --------------------------------------------------- opaque type defined here [INFO] [stdout] 82 | let receiver = receiver.into_iter().indexed(); [INFO] [stdout] 83 | parse_ndjson_iter_par(args, receiver, errors) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `'_` to the `use<...>` bound to explicitly capture it [INFO] [stdout] | [INFO] [stdout] 81 | ) -> impl ParallelIterator + 'a + use<'a, '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0700]: hidden type for `impl ParallelIterator + 'a` captures lifetime that does not appear in bounds [INFO] [stdout] --> src/json/ndjson.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 94 | args: &Cli, [INFO] [stdout] | ---- hidden type `impl ParallelIterator + 'a` captures the anonymous lifetime defined here [INFO] [stdout] ... [INFO] [stdout] 97 | ) -> Result + 'a + use<'a>, NDJSONError> { [INFO] [stdout] | --------------------------------------------------- opaque type defined here [INFO] [stdout] ... [INFO] [stdout] 116 | Ok(parse_ndjson_iter_par(args, iter, errors)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `'_` to the `use<...>` bound to explicitly capture it [INFO] [stdout] | [INFO] [stdout] 97 | ) -> Result + 'a + use<'a, '_>, NDJSONError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0700]: hidden type for `impl rayon::iter::ParallelIterator + 'a` captures lifetime that does not appear in bounds [INFO] [stdout] --> src/json/ndjson.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 78 | args: &Cli, [INFO] [stdout] | ---- hidden type `impl rayon::iter::ParallelIterator + 'a` captures the anonymous lifetime defined here [INFO] [stdout] ... [INFO] [stdout] 81 | ) -> impl ParallelIterator + 'a + use<'a> { [INFO] [stdout] | --------------------------------------------------- opaque type defined here [INFO] [stdout] 82 | let receiver = receiver.into_iter().indexed(); [INFO] [stdout] 83 | parse_ndjson_iter_par(args, receiver, errors) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `'_` to the `use<...>` bound to explicitly capture it [INFO] [stdout] | [INFO] [stdout] 81 | ) -> impl ParallelIterator + 'a + use<'a, '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0700]: hidden type for `impl rayon::iter::ParallelIterator + 'a` captures lifetime that does not appear in bounds [INFO] [stdout] --> src/json/ndjson.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 94 | args: &Cli, [INFO] [stdout] | ---- hidden type `impl rayon::iter::ParallelIterator + 'a` captures the anonymous lifetime defined here [INFO] [stdout] ... [INFO] [stdout] 97 | ) -> Result + 'a + use<'a>, NDJSONError> { [INFO] [stdout] | --------------------------------------------------- opaque type defined here [INFO] [stdout] ... [INFO] [stdout] 116 | Ok(parse_ndjson_iter_par(args, iter, errors)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `'_` to the `use<...>` bound to explicitly capture it [INFO] [stdout] | [INFO] [stdout] 97 | ) -> Result + 'a + use<'a, '_>, NDJSONError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0700`. [INFO] [stdout] [INFO] [stderr] error: could not compile `analyse-json` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0700`. [INFO] [stdout] [INFO] [stderr] error: could not compile `analyse-json` (lib test) due to 3 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" "791c0b2cf50d7c900a9a947386db1f2a9e6397dfcf6cbfbe18118100f3bb955b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "791c0b2cf50d7c900a9a947386db1f2a9e6397dfcf6cbfbe18118100f3bb955b", kill_on_drop: false }` [INFO] [stdout] 791c0b2cf50d7c900a9a947386db1f2a9e6397dfcf6cbfbe18118100f3bb955b