[INFO] fetching crate guppy 0.17.8... [INFO] checking guppy-0.17.8 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate guppy 0.17.8 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate guppy 0.17.8 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate guppy 0.17.8 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate guppy 0.17.8 [INFO] tweaked toml for crates.io crate guppy 0.17.8 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate guppy 0.17.8 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18a5369b5be6cdecf404fa95822e98519c290741d623dab1c93b57391de6650d [INFO] running `Command { std: "docker" "start" "-a" "18a5369b5be6cdecf404fa95822e98519c290741d623dab1c93b57391de6650d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18a5369b5be6cdecf404fa95822e98519c290741d623dab1c93b57391de6650d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18a5369b5be6cdecf404fa95822e98519c290741d623dab1c93b57391de6650d", kill_on_drop: false }` [INFO] [stdout] 18a5369b5be6cdecf404fa95822e98519c290741d623dab1c93b57391de6650d [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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 621b89f34d686ad65e7d7a2d0a19a77a9ac72f24cc1f911f4469046c5106c1a6 [INFO] running `Command { std: "docker" "start" "-a" "621b89f34d686ad65e7d7a2d0a19a77a9ac72f24cc1f911f4469046c5106c1a6", 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.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling guppy-workspace-hack v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling target-spec v3.2.2 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking debug-ignore v1.0.5 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking nested v0.1.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking cfg-expr v0.17.0 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking cargo-platform v0.1.6 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking guppy v0.17.8 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/graph/feature/build.rs (1 fix) [INFO] [stderr] Fixed src/graph/build.rs (2 fixes) [INFO] [stderr] Fixed src/petgraph_support/dfs.rs (1 fix) [INFO] [stderr] Fixed src/graph/cycles.rs (1 fix) [INFO] [stderr] Fixed src/graph/feature/cycles.rs (1 fix) [INFO] [stderr] Fixed src/graph/feature/graph_impl.rs (1 fix) [INFO] [stderr] Fixed src/graph/graph_impl.rs (14 fixes) [INFO] [stdout] warning: `impl Iterator> + 'g` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/graph/feature/graph_impl.rs:343:10 [INFO] [stdout] | [INFO] [stdout] 343 | ) -> impl Iterator> + 'g { [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/graph/feature/graph_impl.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | &self, [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 Iterator> + 'g` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/graph/feature/graph_impl.rs:343:10 [INFO] [stdout] | [INFO] [stdout] 343 | ) -> impl Iterator> + 'g { [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/graph/feature/graph_impl.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | &self, [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 examples/remove_dev_only.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/deps.rs from 2021 edition to 2024 [INFO] [stdout] error: couldn't read `examples/../../fixtures/large/metadata_libra.json`: No such file or directory (os error 2) [INFO] [stdout] --> examples/remove_dev_only.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | CargoMetadata::parse_json(include_str!("../../fixtures/large/metadata_libra.json"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `guppy` (example "remove_dev_only") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Migrating tests/graph-tests/main.rs from 2021 edition to 2024 [INFO] [stdout] error: couldn't read `examples/../../fixtures/small/metadata1.json`: No such file or directory (os error 2) [INFO] [stdout] --> examples/deps.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | let metadata = CargoMetadata::parse_json(include_str!("../../fixtures/small/metadata1.json"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `guppy` (example "deps") due to 1 previous error [INFO] [stdout] error: couldn't read `tests/graph-tests/../../../fixtures/invalid/optional_dev_dep.json`: No such file or directory (os error 2) [INFO] [stdout] --> tests/graph-tests/invalid_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | include_str!("../../../fixtures/invalid/optional_dev_dep.json"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/graph-tests/../../../fixtures/invalid/duplicate_workspace_names.json`: No such file or directory (os error 2) [INFO] [stdout] --> tests/graph-tests/invalid_tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | include_str!("../../../fixtures/invalid/duplicate_workspace_names.json"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/graph-tests/../../../fixtures/invalid/build_targets_empty_kinds.json`: No such file or directory (os error 2) [INFO] [stdout] --> tests/graph-tests/invalid_tests.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | include_str!("../../../fixtures/invalid/build_targets_empty_kinds.json"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/print_dot.rs from 2021 edition to 2024 [INFO] [stdout] error: couldn't read `tests/graph-tests/../../../fixtures/invalid/build_targets_non_bin.json`: No such file or directory (os error 2) [INFO] [stdout] --> tests/graph-tests/invalid_tests.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | include_str!("../../../fixtures/invalid/build_targets_non_bin.json"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/graph-tests/../../../fixtures/invalid/build_targets_duplicate_lib.json`: No such file or directory (os error 2) [INFO] [stdout] --> tests/graph-tests/invalid_tests.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | include_str!("../../../fixtures/invalid/build_targets_duplicate_lib.json"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/graph-tests/../../../fixtures/invalid/named_feature_self_loop.json`: No such file or directory (os error 2) [INFO] [stdout] --> tests/graph-tests/invalid_tests.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | let graph = PackageGraph::from_json(include_str!( [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 57 | | "../../../fixtures/invalid/named_feature_self_loop.json" [INFO] [stdout] 58 | | )) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fixtures` [INFO] [stdout] --> tests/graph-tests/graph_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fixtures::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `fixtures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fixtures` [INFO] [stdout] --> tests/graph-tests/graph_tests.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use fixtures::json::METADATA_CYCLE_FEATURES_BASE; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `fixtures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fixtures` [INFO] [stdout] --> tests/graph-tests/graph_tests.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | use fixtures::dep_helpers::GraphAssert; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `fixtures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fixtures` [INFO] [stdout] --> tests/graph-tests/graph_tests.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | use fixtures::json::METADATA_GUPPY_CARGO_GUPPY; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `fixtures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fixtures` [INFO] [stdout] --> tests/graph-tests/invalid_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fixtures::json::JsonFixture; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `fixtures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fixtures` [INFO] [stdout] --> tests/graph-tests/graph_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fixtures::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `fixtures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fixtures` [INFO] [stdout] --> tests/graph-tests/weak_namespaced.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fixtures::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `fixtures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fixtures` [INFO] [stdout] --> tests/graph-tests/weak_namespaced.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fixtures::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `fixtures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `guppy` (test "graph-tests") due to 14 previous errors [INFO] [stdout] error: couldn't read `examples/../../fixtures/large/metadata_libra.json`: No such file or directory (os error 2) [INFO] [stdout] --> examples/print_dot.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | CargoMetadata::parse_json(include_str!("../../fixtures/large/metadata_libra.json"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/topo_sort.rs from 2021 edition to 2024 [INFO] [stderr] error: could not compile `guppy` (example "print_dot") due to 1 previous error [INFO] [stderr] Migrating examples/print_by_level.rs from 2021 edition to 2024 [INFO] [stdout] error: couldn't read `examples/../../fixtures/large/metadata_libra.json`: No such file or directory (os error 2) [INFO] [stdout] --> examples/topo_sort.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | CargoMetadata::parse_json(include_str!("../../fixtures/large/metadata_libra.json"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `guppy` (example "topo_sort") due to 1 previous error [INFO] [stdout] error: couldn't read `examples/../../fixtures/large/metadata_libra.json`: No such file or directory (os error 2) [INFO] [stdout] --> examples/print_by_level.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | CargoMetadata::parse_json(include_str!("../../fixtures/large/metadata_libra.json"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `guppy` (example "print_by_level") due to 1 previous error [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "621b89f34d686ad65e7d7a2d0a19a77a9ac72f24cc1f911f4469046c5106c1a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "621b89f34d686ad65e7d7a2d0a19a77a9ac72f24cc1f911f4469046c5106c1a6", kill_on_drop: false }` [INFO] [stdout] 621b89f34d686ad65e7d7a2d0a19a77a9ac72f24cc1f911f4469046c5106c1a6