[INFO] cloning repository https://github.com/cbrown1234/analyse-json [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cbrown1234/analyse-json" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcbrown1234%2Fanalyse-json", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcbrown1234%2Fanalyse-json'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8db853449be366d13249526fd26b8fc54412e91 [INFO] checking cbrown1234/analyse-json/b8db853449be366d13249526fd26b8fc54412e91 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcbrown1234%2Fanalyse-json" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cbrown1234/analyse-json 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 git repo https://github.com/cbrown1234/analyse-json [INFO] finished tweaking git repo https://github.com/cbrown1234/analyse-json [INFO] tweaked toml for git repo https://github.com/cbrown1234/analyse-json written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cbrown1234/analyse-json 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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac778a225717aa08dfd3d54ada0f392da6034c8fe200826b7d41a8cca1036d92 [INFO] running `Command { std: "docker" "start" "-a" "ac778a225717aa08dfd3d54ada0f392da6034c8fe200826b7d41a8cca1036d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac778a225717aa08dfd3d54ada0f392da6034c8fe200826b7d41a8cca1036d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac778a225717aa08dfd3d54ada0f392da6034c8fe200826b7d41a8cca1036d92", kill_on_drop: false }` [INFO] [stdout] ac778a225717aa08dfd3d54ada0f392da6034c8fe200826b7d41a8cca1036d92 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b5fa1ed128a34e5dbc07460a3c43dcda58574db0bf400bd59f8420124de3e7a [INFO] running `Command { std: "docker" "start" "-a" "4b5fa1ed128a34e5dbc07460a3c43dcda58574db0bf400bd59f8420124de3e7a", 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] Checking memchr v2.7.2 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking supports-color v2.1.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling serde_json_path_macros_internal v0.1.1 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking clap_complete v4.5.2 [INFO] [stderr] Checking grep-cli v0.1.10 [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Checking serde_json_path_core v0.1.6 [INFO] [stderr] Checking serde_json_path_macros v0.1.4 [INFO] [stderr] Checking serde_json_path v0.6.7 [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: `impl ParallelIterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/json/ndjson.rs:130:6 [INFO] [stdout] | [INFO] [stdout] 130 | ) -> 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:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | 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:245:6 [INFO] [stdout] | [INFO] [stdout] 245 | ) -> 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:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | 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:292:6 [INFO] [stdout] | [INFO] [stdout] 292 | ) -> 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:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | 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: 3 warnings emitted [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:130:6 [INFO] [stdout] | [INFO] [stdout] 130 | ) -> 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:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | 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] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: `impl rayon::iter::ParallelIterator + 'a` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/json/ndjson.rs:245:6 [INFO] [stdout] | [INFO] [stdout] 245 | ) -> 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:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | 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:292:6 [INFO] [stdout] | [INFO] [stdout] 292 | ) -> 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:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.69s [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 rayon::iter::ParallelIterator + 'a` captures lifetime that does not appear in bounds [INFO] [stdout] --> src/json/ndjson.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 79 | args: &Cli, [INFO] [stdout] | ---- hidden type `impl rayon::iter::ParallelIterator + 'a` captures the anonymous lifetime defined here [INFO] [stdout] ... [INFO] [stdout] 82 | ) -> impl ParallelIterator + 'a + use<'a> { [INFO] [stdout] | --------------------------------------------------- opaque type defined here [INFO] [stdout] 83 | let receiver = receiver.into_iter().indexed(); [INFO] [stdout] 84 | 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] 82 | ) -> 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:84:5 [INFO] [stdout] | [INFO] [stdout] 79 | args: &Cli, [INFO] [stdout] | ---- hidden type `impl ParallelIterator + 'a` captures the anonymous lifetime defined here [INFO] [stdout] ... [INFO] [stdout] 82 | ) -> impl ParallelIterator + 'a + use<'a> { [INFO] [stdout] | --------------------------------------------------- opaque type defined here [INFO] [stdout] 83 | let receiver = receiver.into_iter().indexed(); [INFO] [stdout] 84 | 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] 82 | ) -> 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:117:5 [INFO] [stdout] | [INFO] [stdout] 95 | args: &Cli, [INFO] [stdout] | ---- hidden type `impl rayon::iter::ParallelIterator + 'a` captures the anonymous lifetime defined here [INFO] [stdout] ... [INFO] [stdout] 98 | ) -> Result + 'a + use<'a>, NDJSONError> { [INFO] [stdout] | --------------------------------------------------- opaque type defined here [INFO] [stdout] ... [INFO] [stdout] 117 | 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] 98 | ) -> Result + 'a + use<'a, '_>, NDJSONError> { [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:117:5 [INFO] [stdout] | [INFO] [stdout] 95 | args: &Cli, [INFO] [stdout] | ---- hidden type `impl ParallelIterator + 'a` captures the anonymous lifetime defined here [INFO] [stdout] ... [INFO] [stdout] 98 | ) -> Result + 'a + use<'a>, NDJSONError> { [INFO] [stdout] | --------------------------------------------------- opaque type defined here [INFO] [stdout] ... [INFO] [stdout] 117 | 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] 98 | ) -> 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" "4b5fa1ed128a34e5dbc07460a3c43dcda58574db0bf400bd59f8420124de3e7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b5fa1ed128a34e5dbc07460a3c43dcda58574db0bf400bd59f8420124de3e7a", kill_on_drop: false }` [INFO] [stdout] 4b5fa1ed128a34e5dbc07460a3c43dcda58574db0bf400bd59f8420124de3e7a